summaryrefslogtreecommitdiff
path: root/sys/dev/ic/lemac.c
AgeCommit message (Collapse)Author
2009-08-10This does not need a shutdown function either (though the equilevantTheo de Raadt
to stop is not called because the ioctl function is a masterpiece)
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
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@
2006-04-16Correctly computed the mac address checksum on big-endian platforms.Miod Vallat
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2005-11-14register offsets [against bh] are expected bus_size_t and not bus_addr_tMichael Shalayeff
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2003-10-30array for multicast filter intialization mismatches. millert okJun-ichiro itojun Hagino
2003-10-21typos from Tom Cosgrove;Jason McIntyre
Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
2002-05-07move ether_crc32_le to if_ethersubr.c. Add ether_crc32_beNathan Binkert
2002-02-25Accept ethernet broadcasts too :-) This patch contains a copy ofNiklas Hallqvist
ether_crc32_le from NetBSD, which might be bettter placed in if_ethersubr.c later, if any other driver needs it.
2001-07-13On my 10th wedding anniversary I am celebrating byNiklas Hallqvist
committing this driver for technology from back when I got married :-) It is for DEC EtherWorks cards, and comes from NetBSD. I have done severe KNF, and fixed the driver to work with PIO-only cards. Enjoy!