summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/rlphy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use the correct capitalization for Realtek.brad2014-11-241-6/+6
|
* mii drivers no longer need activate functions. Repair of the PHYderaadt2013-12-281-3/+2
| | | | | | | configuration setting is done at resume time because all networks drivers which were previously up, do an IFF_UP operation which hits PHY_RESET. This was in snapshots for about 2 weeks.
* Add support for RTL8101E 10/100 PHY.kettenis2013-06-151-1/+3
| | | | ok miod@, mikeb@
* In rlphy_service() for the MII_TICK case don't bother to check whetherbrad2008-09-111-7/+1
| | | | | the currently selected media is of type IFM_AUTO as autonegotiation does not need to be kicked anyway.
* IEEE 802.3 Annex 28B.3 explicitly specifies the following relativebrad2008-09-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers did not honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix a long standing bug such that PHY drivers choose the highest common denominator ability. This bug is exposed by a Cisco 3550 switch which inadvertently announces 100BASE-T4 capability even though it is not capable of 100BASE-T4 operation, it is a 100BASE-TX switch. From FreeBSD Tested with dc(4), fxp(4), rl(4), sis(4).
* Some header cleanup. Remove some unused headers and shuffle some aroundbrad2008-06-101-3/+5
| | | | | | for consistency between drivers. "looks good" reyk@
* In autoneg mode, use RL_MEDIASTAT on re(4), like we do on rl(4) already.miod2007-01-271-2/+3
|
* Always explicitly set IFM_HDX for half-duplex.kettenis2006-12-271-5/+5
| | | | From brad@
* simplify parent driver matching code a bit. no-op change.brad2006-11-021-6/+10
|
* add sys/timeout.hbrad2006-07-231-1/+2
|
* consider re(4) as a possible 8139 chipset.brad2006-05-161-2/+3
|
* Add support for IC+ IP101 (from brad). -moj ok jsgmaja2006-02-121-1/+3
|
* use mii_phy_match().brad2006-02-111-8/+14
|
* back out change that was not discussed for nowpvalchev2005-07-311-3/+2
|
* allow re(4) to attach too.brad2005-07-301-2/+3
|
* some cleanupbrad2005-05-271-2/+2
|
* Get flags passed down to PHY drivers correctly. This was done onbrad2005-01-281-2/+2
| | | | | | | | an adhoc basis in a couple of PHY drivers, this fixes it more generally. From NetBSD Fixes panics with aue(4) NICs.
* make it compile, sighderaadt2005-01-101-2/+2
|
* remove unnecessary rlphy_reset(), mii_phy_tick() andbrad2005-01-101-27/+70
| | | | | | some clean up. fixes issue with axe@usb. Tested by a number of developers and users.
* *phy -> *scbrad2004-10-071-9/+9
| | | | ok jason@
* rtl8139 doesn't setup ANLPAR if the other side is not NWay compatible,jason2004-09-301-2/+83
| | | | to try to deduce what the link partner is the hardway. Based on FreeBSD.
* ANSI protos and some minor cleanupbrad2004-09-271-14/+5
| | | | ok henning@
* Restructure the PHY entry points to use a structure ofbrad2004-09-261-4/+7
| | | | | | | | | | 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@
* RTL8201L PHY support; from FreeBSD.fgsch2004-09-231-2/+12
|
* don't include sys/malloc.h, no memory management functions are usedbrad2004-09-201-2/+1
| | | | | | by any of the MII drivers. From NetBSD
* nuke clase 3 & 4jason2003-06-021-6/+1
|
* First round of __P removal in sysmillert2002-03-141-5/+5
|
* sync mii code with netbsdnate2000-08-261-35/+13
| | | | | | | adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
* Merge with NetBSD:jason1999-12-071-21/+7
| | | | | | | | | | | | | 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
* do not print media information to dmesg; ifconfig shows itderaadt1999-07-231-6/+2
|
* Sync with NetBSD:jason1999-07-161-3/+4
| | | | | | | 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.
* MII fixups, should be able to reliably switch modes manually nowjason1998-11-201-3/+6
|
* dev/mii'fy RTL driver and add new phy driver for the 8139 internal phyjason1998-11-181-0/+217