From 7bef0f889b892b9a5a51b51ee7b9622a1d42df6c Mon Sep 17 00:00:00 2001 From: alfred Date: Sat, 29 Jun 2002 11:26:05 +0000 Subject: catch up with mextfree callback change when TI_PRIVATE_JUMBOS is defined. Pointed out by: kdm --- sys/dev/ti/if_ti.c | 4 ++-- sys/pci/if_ti.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 68a0636..a4ea930 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -251,7 +251,7 @@ static void ti_handle_events (struct ti_softc *); #ifdef TI_PRIVATE_JUMBOS static int ti_alloc_jumbo_mem (struct ti_softc *); static void *ti_jalloc (struct ti_softc *); -static void ti_jfree (caddr_t, void *); +static void ti_jfree (void *, void *); #endif /* TI_PRIVATE_JUMBOS */ static int ti_newbuf_std (struct ti_softc *, int, struct mbuf *); static int ti_newbuf_mini (struct ti_softc *, int, struct mbuf *); @@ -1077,7 +1077,7 @@ static void *ti_jalloc(sc) * Release a jumbo buffer. */ static void ti_jfree(buf, args) - caddr_t buf; + void *buf; void *args; { struct ti_softc *sc; diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index 68a0636..a4ea930 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -251,7 +251,7 @@ static void ti_handle_events (struct ti_softc *); #ifdef TI_PRIVATE_JUMBOS static int ti_alloc_jumbo_mem (struct ti_softc *); static void *ti_jalloc (struct ti_softc *); -static void ti_jfree (caddr_t, void *); +static void ti_jfree (void *, void *); #endif /* TI_PRIVATE_JUMBOS */ static int ti_newbuf_std (struct ti_softc *, int, struct mbuf *); static int ti_newbuf_mini (struct ti_softc *, int, struct mbuf *); @@ -1077,7 +1077,7 @@ static void *ti_jalloc(sc) * Release a jumbo buffer. */ static void ti_jfree(buf, args) - caddr_t buf; + void *buf; void *args; { struct ti_softc *sc; -- cgit v1.1