summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/iophy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ansijsg2021-03-051-14/+5
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.mpi2014-12-051-1/+2
| | | | ok mikeb@, krw@, bluhm@, tedu@
* 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.
* Manuel Bouyer rescinded clauses 3 and 4 of his license text.jsg2010-07-231-6/+1
|
* IEEE 802.3 Annex 28B.3 explicitly specifies the following relativebrad2008-09-081-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* If there is a 100baseT4 connection then fall through so as tobrad2008-07-111-4/+3
| | | | | | explicitly set the duplex flag instead of returning right away. ok dlg@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Always explicitly set IFM_HDX for half-duplex.kettenis2006-12-271-6/+6
| | | | From brad@
* use mii_phy_match()brad2005-02-191-3/+3
|
* use mii_phy_match()brad2005-02-051-9/+16
|
* 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.
* 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@
* don't include sys/malloc.h, no memory management functions are usedbrad2004-09-201-2/+1
| | | | | | by any of the MII drivers. From NetBSD
* First round of __P removal in sysmillert2002-03-141-5/+5
|
* sync mii code with netbsdnate2000-08-261-63/+18
| | | | | | | 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-26/+11
| | | | | | | | | | | | | 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
* no warnings; jwoehr@advtech.uswest.comderaadt1999-11-251-3/+4
|
* manually add IFM_AUTO (workaround for fxp)jason1999-10-131-1/+3
|
* no media prints in mii codederaadt1999-10-121-6/+2
|
* add driver for i82553; from netbsdjason1999-10-121-0/+326