NetBSD/sys/arch/newsmips
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
..
apbus Change a bazillion occurrences of code resembling this, 2007-09-01 07:32:22 +00:00
compile
conf Add options COMPAT_40. 2007-07-18 15:19:07 +00:00
dev Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
include Patterned after sgimips, move include of <machine/intr.h> to only be done 2007-07-17 14:36:25 +00:00
newsmips Use C99 initializers. 2007-07-03 10:11:49 +00:00
stand support MAKEVERBOSE 2006-06-29 01:45:03 +00:00
Makefile