aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mii/qsphy.c
Commit message (Collapse)AuthorAgeFilesLines
* Put function return types on a line by themselves.Alfred Perlstein2002-10-141-4/+6
| | | | | | | | Cleanup my earlier de-__P sweep and remove whitespace between function names and paramters. Notes: svn path=/head/; revision=105135
* Clean up mii/phy drivers: Remove the MIIF_DOINGAUTO which doesn't reallyPoul-Henning Kamp2002-05-041-1/+1
| | | | | | | | do anything at the end of the day except bloat the drivers which has copy&pasted it. Notes: svn path=/head/; revision=96026
* MII_TICK handlers need not restart aneg on these PHYs, they behave prettySemen Ustimenko2002-05-011-69/+39
| | | | | | | | | | | | | | | well as is, so - just fetch current status upon MII_TICK. Also do IFM_INST verification at the top of *_service() then doing it separately for every case in switch. acphy: do not read MII_ACPHY_DIAG twice, there is nothing latching. qsphy: always fetch actual link status from MII_QSPHY_PCTL. MFC after: 1 week Notes: svn path=/head/; revision=95877
* Make one generic mii_phy_detach() to replace 19 slightly different ones.Poul-Henning Kamp2002-04-291-16/+1
| | | | | | | | | | Rename mii_phy_auto_stop() mii_phy_down(). Introduce mii_down(), use it from nge. Do not indirect it to 19 identical case's in 19 switchstatements like NetBSD did. Notes: svn path=/head/; revision=95722
* Don't pass three args when one will do just fine, and even preventPoul-Henning Kamp2002-04-281-1/+1
| | | | | | | mistakes like the one brgphy.c (now corrected). Notes: svn path=/head/; revision=95667
* Improve an API by about 4 lines per driver.Poul-Henning Kamp2002-04-281-3/+1
| | | | Notes: svn path=/head/; revision=95665
* Remove __P.Alfred Perlstein2002-03-201-6/+6
| | | | Notes: svn path=/head/; revision=92739
* Cleanup pass for mii drivers.Jonathan Lemon2001-09-291-22/+17
| | | | | | | | | | . Make internal service routines static. . Use a consistent ordering of checks in MII_TICK. Do the work in the mii_phy_tick() subroutine if appropriate. . Call mii_phy_update() to trigger the callbacks. Notes: svn path=/head/; revision=84145
* Add QS6612, AC101 and LXT970 personal drivers and register definitions.Semen Ustimenko2001-02-071-0/+366
Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=72132