Gavin Atkinson
7c9fdc4d36
Don't panic on attach if we can't allocate ifp
...
Approved by: ed (mentor)
MFC after: 2 weeks
2010-01-10 14:48:42 +00:00
Gavin Atkinson
f0b108cf03
Small spelling fix, "Ethetnet" -> "Ethernet"
...
Approved by: ed (mentor)
MFC after: 1 week
2009-12-25 19:38:12 +00:00
Pyun YongHyeon
cb2cdeceb5
Fix multicast handling. All Atheros controllers use big-endian form
...
in computing multicast hash.
PR: kern/139137
2009-09-29 23:03:16 +00:00
Poul-Henning Kamp
6778431478
Revert previous commit and add myself to the list of people who should
...
know better than to commit with a cat in the area.
2009-09-08 13:19:05 +00:00
Poul-Henning Kamp
b34421bf9c
Add necessary include.
2009-09-08 13:16:55 +00:00
Robert Watson
eb956cd041
Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/
...
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs. This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.
For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.
Approved by: re (kib)
MFC after: 6 weeks
2009-06-26 11:45:06 +00:00
Warner Losh
850f048e58
detach doesn't return an unsinged int, but returns an int.
2009-02-04 20:35:22 +00:00
Stanislav Sedov
e4ec1e683e
- Eliminate unused variable. [1]
...
- Check for runt frames entering the stack. [2]
Suggested by: ganbold[1], yongari[2]
Approved by: kib (mentor)
MFC after: 2 weeks
2008-12-06 14:23:45 +00:00
Stanislav Sedov
ba26d470bd
- Add driver for Attansic L2 FastEthernet controller found on
...
Asus EeePC and some Asus mainboards.
Reviewed by: yongari, rpaulo, jhb
Tested by: many
Approved by: kib (mentor)
MFC after: 1 week
2008-10-03 10:31:31 +00:00