summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-01-31 05:00:24 +0000
committerthorpej <thorpej@NetBSD.org>2003-01-31 05:00:24 +0000
commit515d52e9e774d64764c4ecc782faed397e061a7d (patch)
tree1690eec05de96f0733e59ddadc5355245c22e774 /sys/dev/pci
parent96b5a26db24acb3345f0cc9f3686bcff463293d8 (diff)
Change ext_size to a size_t, and update the signature of ext_free.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_bge.c6
-rw-r--r--sys/dev/pci/if_ti.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index ce0608fb6fa..1a8e2d10bd3 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.30 2003/01/31 01:03:35 thorpej Exp $ */
+/* $NetBSD: if_bge.c,v 1.31 2003/01/31 05:00:24 thorpej Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -149,7 +149,7 @@ void bge_handle_events(struct bge_softc *);
int bge_alloc_jumbo_mem(struct bge_softc *);
void bge_free_jumbo_mem(struct bge_softc *);
void *bge_jalloc(struct bge_softc *);
-void bge_jfree(struct mbuf *, caddr_t, u_int, void *);
+void bge_jfree(struct mbuf *, caddr_t, size_t, void *);
int bge_newbuf_std(struct bge_softc *, int, struct mbuf *, bus_dmamap_t);
int bge_newbuf_jumbo(struct bge_softc *, int, struct mbuf *);
int bge_init_rx_ring_std(struct bge_softc *);
@@ -671,7 +671,7 @@ void
bge_jfree(m, buf, size, arg)
struct mbuf *m;
caddr_t buf;
- u_int size;
+ size_t size;
void *arg;
{
struct bge_jpool_entry *entry;
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 46319fcc739..0a34cfb4a1a 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ti.c,v 1.55 2003/01/21 05:39:57 itojun Exp $ */
+/* $NetBSD: if_ti.c,v 1.56 2003/01/31 05:00:25 thorpej Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.55 2003/01/21 05:39:57 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.56 2003/01/31 05:00:25 thorpej Exp $");
#include "bpfilter.h"
#include "opt_inet.h"
@@ -195,7 +195,7 @@ static void ti_cmd_ext __P((struct ti_softc *, struct ti_cmd_desc *,
static void ti_handle_events __P((struct ti_softc *));
static int ti_alloc_jumbo_mem __P((struct ti_softc *));
static void *ti_jalloc __P((struct ti_softc *));
-static void ti_jfree __P((struct mbuf *, caddr_t, u_int, void *));
+static void ti_jfree __P((struct mbuf *, caddr_t, size_t, void *));
static int ti_newbuf_std __P((struct ti_softc *, int, struct mbuf *, bus_dmamap_t));
static int ti_newbuf_mini __P((struct ti_softc *, int, struct mbuf *, bus_dmamap_t));
static int ti_newbuf_jumbo __P((struct ti_softc *, int, struct mbuf *));
@@ -684,7 +684,7 @@ static void *ti_jalloc(sc)
static void ti_jfree(m, buf, size, arg)
struct mbuf *m;
caddr_t buf;
- u_int size;
+ size_t size;
void *arg;
{
struct ti_softc *sc;