summaryrefslogtreecommitdiff
path: root/sys/dev/mii/rlphy.c
AgeCommit message (Collapse)Author
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.
2005-01-10make it compile, sighTheo de Raadt
2005-01-10remove unnecessary rlphy_reset(), mii_phy_tick() andBrad Smith
some clean up. fixes issue with axe@usb. Tested by a number of developers and users.
2004-10-07*phy -> *scBrad Smith
ok jason@
2004-09-30rtl8139 doesn't setup ANLPAR if the other side is not NWay compatible,Jason Wright
to try to deduce what the link partner is the hardway. Based on FreeBSD.
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-23RTL8201L PHY support; from FreeBSD.Federico G. Schwindt
2004-09-20don't include sys/malloc.h, no memory management functions are usedBrad Smith
by any of the MII drivers. From NetBSD
2003-06-02nuke clase 3 & 4Jason Wright
2002-03-14First round of __P removal in sysTodd C. Miller
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
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-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-20MII fixups, should be able to reliably switch modes manually nowJason Wright
1998-11-18dev/mii'fy RTL driver and add new phy driver for the 8139 internal phyJason Wright