CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/10/02 14:21:15
Modified files: sys/arch/mac68k/dev: if_mc.c if_sn.c sys/arch/macppc/dev: if_bm.c if_mc.c sys/arch/mvme68k/dev: if_ie.c sys/arch/mvme88k/dev: if_ie.c sys/arch/sgi/dev: if_mec.c sys/arch/socppc/dev: if_tsec.c sys/arch/sparc/dev: be.c hme.c if_ie.c qe.c sys/arch/vax/bi: if_ni.c sys/arch/vax/if: if_qe.c sgec.c sys/dev/ic : aic6915.c am7990.c dc.c elink3.c fxp.c gem.c hme.c i82596.c if_wi.c lemac.c mtd8xx.c re.c rtl81x9.c smc83c170.c xl.c sys/dev/isa : if_ef_isapnp.c if_eg.c if_el.c if_ex.c if_ie.c sys/dev/pci : if_bce.c if_bge.c if_bnx.c if_cas.c if_de.c if_em.c if_et.c if_ix.c if_ixgb.c if_jme.c if_lii.c if_msk.c if_myx.c if_nfe.c if_nge.c if_nxe.c if_pcn.c if_sis.c if_sk.c if_ste.c if_stge.c if_tht.c if_ti.c if_tl.c if_txp.c if_vge.c if_vic.c if_vr.c if_wb.c if_xge.c sys/dev/pcmcia : if_ray.c sys/dev/sbus : be.c qe.c sys/dev/usb : if_aue.c if_axe.c if_cdce.c if_cdcef.c if_cue.c if_kue.c if_udav.c sys/net : if_ethersubr.c if_trunk.c if_tun.c sys/net80211 : ieee80211_ioctl.c Log message: First step towards cleaning up the Ethernet driver ioctl handling. Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@