summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/pnaphy.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a helper function mii_phy_dev_probe(), which wraps around themarius2006-12-021-13/+7
| | | | | | | | | | | mii_phy_match() API and takes care of the PHY device probe based on the struct mii_phydesc array and the match return value provided. Convert PHY drivers to take advantage of mii_phy_dev_probe(), converting drivers to provide a mii_phydesc table in the first place where necessary. Reviewed by: yongari MFC after: 2 weeks
* Replace hard-coded magic constants to system defined constantsyongari2006-07-031-1/+1
| | | | | | | (BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). There is no functional changes. Reviewed by: oleg, scottl
* Use ansi function definitions in preference to K&R to reduce diffsimp2005-09-301-8/+3
| | | | with NetBSD (and cause it looks cooler).
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Remove double __FBSDID and move the remaining one into a common place aftermarius2004-05-291-3/+0
| | | | | the license(s) and before the driver comment (the latter only in drivers not having __FBSDID at that location).
* Use __FBSDID().obrien2003-08-241-0/+3
| | | | Also some minor style cleanups.
* Use __FBSDID rather than rcsid[].obrien2003-04-031-7/+3
|
* Remove miidevs.h and generate it from miidevs at compile time.obrien2003-01-191-1/+1
| | | | The devlist2h.awk tool to do this has been repocopied to sys/tools/.
* Remove unnecessary <sys/malloc.h> include.semenu2002-10-291-1/+0
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 1 week
* Put function return types on a line by themselves.alfred2002-10-141-2/+2
| | | | | Cleanup my earlier de-__P sweep and remove whitespace between function names and paramters.
* Be consistent about "static" functions: if the function is markedphk2002-09-281-1/+1
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Make one generic mii_phy_detach() to replace 19 slightly different ones.phk2002-04-291-17/+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.
* Move us yet closer to IFM_* definitions in NetBSD.phk2002-04-291-2/+2
|
* Remove __P.alfred2002-03-201-4/+4
|
* Cleanup pass for mii drivers.jlemon2001-09-291-37/+3
| | | | | | | . 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.
* Grrrrr. That last commit was supposed to be to the head, not to -stablewpaul2000-12-121-0/+1
| | | | | | (even though I want the fixes in -stable anyway). I'm sure I'm going to get flamed now for committing to -stable and -current too quickly. *sigh*
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Add a homePNA PHY driver. This is really only a stub: MII-based homePNAwpaul2000-09-201-0/+282
PHYs tend to look like 10mbps PHYs with no autonegotiation. This allows us to display the proper media type and link status however.
OpenPOWER on IntegriCloud