cvs commit: src/sys/dev/if_ndis if_ndis.c src/sys/compat/ndis kern_ndis.c subr_ndis.c src/usr.sbin/ndiscvt inf-parse.y inf-token.l inf.c ndiscvt.8 ndiscvt.c

[ Available lists | Index of cvs-src | Month of Jan 2004 | Week of 1 Jan 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bill Paul <wpaul@FreeBSD.org>
Date
1 Jan 2004 20:31:07
Subject
cvs commit: src/sys/dev/if_ndis if_ndis.c src/sys/compat/ndis kern_ndis.c subr_ndis.c src/usr.sbin/ndiscvt inf-parse.y inf-token.l inf.c ndiscvt.8 ndiscvt.c
Message-ID
200401020431.i024V69s049950@repoman.freebsd.org


[ Hide this part ]
wpaul       2004/01/01 20:31:06 PST

FreeBSD src repository

Modified files:
sys/dev/if_ndis if_ndis.c
sys/compat/ndis kern_ndis.c subr_ndis.c
usr.sbin/ndiscvt inf-parse.y inf-token.l inf.c ndiscvt.8
ndiscvt.c
Log:
Clean up ndiscvt a bit (leaving out the -i flag didn't work) and add
copyrights to the inf parser files.

Add a -n flag to ndiscvt to allow the user to override the default
device name of NDIS devices. Instead of "ndis0, ndis1, etc..."
you can have "foo0, foo1, etc..." This allows you to have more than
one kind of NDIS device in the kernel at the same time.

Convert from printf() to device_printf() in if_ndis.c, kern_ndis.c
and subr_ndis.c.

Create UMA zones for ndis_packet and ndis_buffer structs allocated
on transmit. The zones are created and destroyed in the modevent
handler in kern_ndis.c.

printf() and UMA changes submitted by green@freebsd.org

Revision Changes Path
1.18 +49 -14 src/sys/compat/ndis/kern_ndis.c
1.19 +5 -4 src/sys/compat/ndis/subr_ndis.c
1.19 +49 -41 src/sys/dev/if_ndis/if_ndis.c
1.2 +29 -1 src/usr.sbin/ndiscvt/inf-parse.y
1.2 +29 -1 src/usr.sbin/ndiscvt/inf-token.l
1.7 +29 -1 src/usr.sbin/ndiscvt/inf.c
1.3 +9 -0 src/usr.sbin/ndiscvt/ndiscvt.8
1.4 +19 -5 src/usr.sbin/ndiscvt/ndiscvt.c


Elapsed time: 0.209 seconds