NetBSD/sys/dev/qbus
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
..
dhu.c
dhureg.h
dl.c
dlreg.h
dz_uba.c
files.uba
if_de.c
if_dereg.h
if_dmc.c
if_dmcreg.h
if_il.c Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to 2007-08-26 22:45:55 +00:00
if_il.h
if_ilreg.h
if_qe.c Change a bazillion occurrences of code resembling this, 2007-09-01 07:32:22 +00:00
if_qereg.h
if_qt.c
if_qtreg.h
if_uba.c
if_uba.h
qd.c
qdioctl.h
qdreg.h
qduser.h
qevent.h
qfont.c
rf.c
rfreg.h
rl.c
rlreg.h
rlvar.h
ts.c
tsreg.h
uba.c
ubareg.h
ubavar.h
uda.c