summaryrefslogtreecommitdiff
path: root/sys/dev/mii/exphy.c
AgeCommit message (Collapse)Author
2005-02-04- attach 3com 3c905C PHY with bmtphyBrad Smith
- use mii_phy_reset() instead of bmtphy_reset() - use mii_phy_match() - sync bmtphyreg.h to NetBSD Tested on a few bce(4), gem(4), xl(4)
2005-01-28Get flags passed down to PHY drivers correctly. This was done onBrad Smith
an adhoc basis in a couple of PHY drivers, this fixes it more generally. From NetBSD Fixes panics with aue(4) NICs.
2004-09-28mii_phy_tick() already checks for autonegotiation.Brad Smith
2004-09-27ANSI protos and some minor cleanupBrad Smith
ok henning@
2004-09-26Restructure the PHY entry points to use a structure ofBrad Smith
entry points instead of descrete function pointers, and extend this to include a "reset" entry point. Make sure any PHY-specific reset routine is always used. From NetBSD ok mcbride@
2004-09-20don't include sys/malloc.h, no memory management functions are usedBrad Smith
by any of the MII drivers. From NetBSD
2003-02-13support for 3C905B internal PHY; markus@ ok.Federico G. Schwindt
2002-03-14First round of __P removal in sysTodd C. Miller
2001-07-17Rework exphymatch so that it uses positive logic. Makes more sense.Nathan Binkert
tested by jason@
2001-07-16add support for the PHY on a 3c920 / 3c980C found on Tyan Thunder K7Peter Galbavy
boards. ok'd nate@
2000-08-26sync mii code with netbsdNathan Binkert
adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
2000-02-16match broadcom 3c905c phyJason Wright
1999-12-07Merge with NetBSD:Jason Wright
o move common support functions for phy drivers from mii.c to mii_physubr.c, so that they are not includes if no PHY is configured o Clean up the code that adds media a little, and make media selection table-driven in preparation for some other changes to be made. o Don't add any loopback versions of media, for now. o Add mii_down(), which is used by MAC drivers to inform PHYs that the interface is now down. PHYs use this to cancel pending asynchronous operations. o Add OUI for Enable Semiconductor. o New Driver for TDK TSC78Q2120 PHY
1999-09-26match if parent is 'xl'Jason Wright
1999-07-23do not print media information to dmesg; ifconfig shows itTheo de Raadt
1999-07-16Sync with NetBSD:Jason Wright
o Implement asynchronous autonegotiation when driven by the MII tick (one-second clock). Prevents .5s delays every 5 seconds when the interface is up but there is no link. o Correct the sense of the PCR_FLINK100 bit in nsphy.c.
1998-11-11Merge with NetBSD:Jason Wright
o additional phy drivers (seeq, ics, level1) o "unknown phy" driver for unsupported phys o collected common code into mii_physubr o exphy isn't the only phy that doesn't have valid id registers
1998-09-10OpenBSD gets sys/dev/mii layer from NetBSDJason Wright