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 Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
dhureg.h
dl.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
dlreg.h
dz_uba.c
files.uba
if_de.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
if_dereg.h
if_dmc.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
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 Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
if_qtreg.h
if_uba.c Cast to char* before doing pointer arithmetic. 2007-03-08 23:25:44 +00:00
if_uba.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
qd.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:15:35 +00:00
qdioctl.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
qdreg.h
qduser.h
qevent.h
qfont.c
rf.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:15:35 +00:00
rfreg.h
rl.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:15:35 +00:00
rlreg.h
rlvar.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
ts.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:15:35 +00:00
tsreg.h
uba.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
ubareg.h
ubavar.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
uda.c