NetBSD/sys/dev/bi
dyoung dcd8923429 Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ?
	    ether_addmulti(ifr, &sc->sc_ec) :
	    ether_delmulti(ifr, &sc->sc_ec);

	if (error == ENETRESET) {

to this,

	if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {

which does the same thing.

(A bazillion is a very large number.  This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)

Use ifreq_getaddr() twice in es(4).

Whitespace nits.
2007-09-01 07:32:22 +00:00
..
bi.c
bireg.h
bivar.h
files.bi
if_ni.c Change a bazillion occurrences of code resembling this, 2007-09-01 07:32:22 +00:00
if_nireg.h
kdb.c
kdbreg.h
uba_bi.c