diff options
-rw-r--r-- | sys/dev/bge/if_bge.c | 4 | ||||
-rw-r--r-- | sys/dev/lge/if_lge.c | 4 | ||||
-rw-r--r-- | sys/dev/nge/if_nge.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index e21da49..afb01a7 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -181,7 +181,7 @@ static void bge_handle_events (struct bge_softc *); static int bge_alloc_jumbo_mem (struct bge_softc *); static void bge_free_jumbo_mem (struct bge_softc *); static void *bge_jalloc (struct bge_softc *); -static void bge_jfree (caddr_t, void *); +static void bge_jfree (void *, void *); static int bge_newbuf_std (struct bge_softc *, int, struct mbuf *); static int bge_newbuf_jumbo (struct bge_softc *, int, struct mbuf *); static int bge_init_rx_ring_std (struct bge_softc *); @@ -663,7 +663,7 @@ bge_jalloc(sc) */ static void bge_jfree(buf, args) - caddr_t buf; + void *buf; void *args; { struct bge_jpool_entry *entry; diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index 44bd531..f16ece9 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -132,7 +132,7 @@ static int lge_detach (device_t); static int lge_alloc_jumbo_mem (struct lge_softc *); static void lge_free_jumbo_mem (struct lge_softc *); static void *lge_jalloc (struct lge_softc *); -static void lge_jfree (caddr_t, void *); +static void lge_jfree (void *, void *); static int lge_newbuf (struct lge_softc *, struct lge_rx_desc *, @@ -917,7 +917,7 @@ static void *lge_jalloc(sc) * Release a jumbo buffer. */ static void lge_jfree(buf, args) - caddr_t buf; + void *buf; void *args; { struct lge_softc *sc; diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index be395ee..1e081a2 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -153,7 +153,7 @@ static int nge_detach (device_t); static int nge_alloc_jumbo_mem (struct nge_softc *); static void nge_free_jumbo_mem (struct nge_softc *); static void *nge_jalloc (struct nge_softc *); -static void nge_jfree (caddr_t, void *); +static void nge_jfree (void *, void *); static int nge_newbuf (struct nge_softc *, struct nge_desc *, struct mbuf *); @@ -1203,7 +1203,7 @@ static void *nge_jalloc(sc) * Release a jumbo buffer. */ static void nge_jfree(buf, args) - caddr_t buf; + void *buf; void *args; { struct nge_softc *sc; |