summaryrefslogtreecommitdiffstats
path: root/sys/dev/ae
Commit message (Collapse)AuthorAgeFilesLines
* Add a 'locked' variant of the foo_start() routine and call it directlyjhb2011-01-032-20/+16
| | | | | | | | from interrupt handlers and watchdog routines instead of queueing a task to call foo_start(). Reviewed by: yongari MFC after: 1 month
* Convert the PHY drivers to honor the mii_flags passed down and convertmarius2010-10-152-13/+4
| | | | | | | | | | | | | | | | | | | | | | | the NIC drivers as well as the PHY drivers to take advantage of the mii_attach() introduced in r213878 to get rid of certain hacks. For the most part these were: - Artificially limiting miibus_{read,write}reg methods to certain PHY addresses; we now let mii_attach() only probe the PHY at the desired address(es) instead. - PHY drivers setting MIIF_* flags based on the NIC driver they hang off from, partly even based on grabbing and using the softc of the parent; we now pass these flags down from the NIC to the PHY drivers via mii_attach(). This got us rid of all such hacks except those of brgphy() in combination with bce(4) and bge(4), which is way beyond what can be expressed with simple flags. While at it, I took the opportunity to change the NIC drivers to pass up the error returned by mii_attach() (previously by mii_phy_probe()) and unify the error message used in this case where and as appropriate as mii_attach() actually can fail for a number of reasons, not just because of no PHY(s) being present at the expected address(es). Reviewed by: jhb, yongari
* Remove unnecessary controller reinitialization.yongari2010-09-211-1/+9
| | | | PR: kern/87506
* Add new tunable 'net.link.ifqmaxlen' to set default send interfacesobomax2010-05-031-1/+1
| | | | | | | | | | queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value. MFC after: 1 month
* Don't panic on attach if we can't allocate ifpgavin2010-01-101-0/+1
| | | | | Approved by: ed (mentor) MFC after: 2 weeks
* Small spelling fix, "Ethetnet" -> "Ethernet"gavin2009-12-251-1/+1
| | | | | Approved by: ed (mentor) MFC after: 1 week
* Fix multicast handling. All Atheros controllers use big-endian formyongari2009-09-291-1/+1
| | | | | | in computing multicast hash. PR: kern/139137
* Revert previous commit and add myself to the list of people who shouldphk2009-09-081-2/+0
| | | | know better than to commit with a cat in the area.
* Add necessary include.phk2009-09-081-0/+2
|
* Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/rwatson2009-06-261-2/+2
| | | | | | | | | | | | | 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
* detach doesn't return an unsinged int, but returns an int.imp2009-02-041-2/+2
|
* - Eliminate unused variable. [1]stas2008-12-061-5/+2
| | | | | | | | - Check for runt frames entering the stack. [2] Suggested by: ganbold[1], yongari[2] Approved by: kib (mentor) MFC after: 2 weeks
* - Add driver for Attansic L2 FastEthernet controller found onstas2008-10-033-0/+2817
Asus EeePC and some Asus mainboards. Reviewed by: yongari, rpaulo, jhb Tested by: many Approved by: kib (mentor) MFC after: 1 week
OpenPOWER on IntegriCloud