freebsd-skq/sys/dev/mii
yongari 06e624317c Some 88E1149 PHY's page select is initialized to point to other
bank instead of copper/fiber bank which in turn resulted in
wrong registers were accessed during PHY operation. It is
believed that page 0 should be used for copper PHY so reinitialize
E1000_EADR to select default copper PHY.
This fixes link establishment issue of nfe(4) on Sun Fire X4140.

OpenBSD also has similimar patch but they just reset the E1000_EADR
register to page 0. However some Marvell PHYs((88E3082, 88E1000)
don't have the extended address register and the meaning of the
register is quite different for each PHY model. So selecting copper
PHY is limited to 88E1149 PHY which seems to be the only one that
exhibits link establishment problem. If parent device know the type
of PHY(either copper or fiber) that information should be notified
to PHY driver but there is no good way to pass this information yet.

Reported by:	thompsa
Reviewed by:	thompsa
2008-10-17 05:26:51 +00:00
..
acphy.c Set MIIF_HAVE_FIBER and add IFM_100_FX media when the AC_MCTL_FX_SEL 2007-01-12 22:59:38 +00:00
acphyreg.h - Correct the AC_MCTL_BYP_PCS constant. 2007-01-12 22:58:04 +00:00
amphy.c Fix a typo in a comment. 2008-01-27 01:11:57 +00:00
amphyreg.h
atphy.c - Add driver for Attansic L2 FastEthernet controller found on 2008-10-03 10:31:31 +00:00
atphyreg.h Add Attansic/Atheros F1 PHY driver. 2008-05-19 01:12:10 +00:00
bmtphy.c
bmtphyreg.h
brgphy.c Restore link state handling which was broken in rev 1.69. 2008-08-12 00:57:39 +00:00
brgphyreg.h Add support for the BCM5906[M] adapters. These adapters only support 2008-04-29 19:47:13 +00:00
ciphy.c Add Vitesse VSC8211 PHY which is found on Planex GU-1000T. 2008-09-30 07:30:05 +00:00
ciphyreg.h Add support Vitesse VSC8601 PHY that is found on nVidia network 2007-06-06 06:55:49 +00:00
e1000phy.c Some 88E1149 PHY's page select is initialized to point to other 2008-10-17 05:26:51 +00:00
e1000phyreg.h Add 88E1116/88E1116R PHY support code that takes the PHY out of 2007-10-29 05:50:22 +00:00
exphy.c - Take advantage of mii_phy_dev_probe(). 2007-01-12 23:17:43 +00:00
gentbi.c - Remove MIIF_NOISOLATE; there's generally no reason to let gentbi(4) 2007-10-29 21:11:55 +00:00
icsphy.c Add icsphy(4), Integrated Circuit Systems PHY driver, ported from 2007-06-11 02:04:50 +00:00
icsphyreg.h Add icsphy(4), Integrated Circuit Systems PHY driver, ported from 2007-06-11 02:04:50 +00:00
inphy.c Use mii_phy_add_media()/mii_phy_setmedia()-compatible media table 2007-01-12 22:27:46 +00:00
inphyreg.h
ip1000phy.c Add support for IC Plus IP1001 PHY. 2008-04-05 00:52:07 +00:00
ip1000phyreg.h Add support for IC Plus IP1001 PHY. 2008-04-05 00:52:07 +00:00
jmphy.c Add JMicron JMP202/JMP211 PHY driver. 2008-05-27 01:16:40 +00:00
jmphyreg.h Add JMicron JMP202/JMP211 PHY driver. 2008-05-27 01:16:40 +00:00
lxtphy.c Add support for the Apple Big Mac (BMAC) Ethernet controller, 2008-06-07 22:58:32 +00:00
lxtphyreg.h
mii_physubr.c Remove mii_media_from_bmcr(); all previous users have been converted to 2007-01-13 00:14:45 +00:00
mii.c Revert bogusly committed file. 2008-08-23 07:46:58 +00:00
mii.h
miibus_if.m
miidevs - Add driver for Attansic L2 FastEthernet controller found on 2008-10-03 10:31:31 +00:00
miivar.h Remove mii_media_from_bmcr(); all previous users have been converted to 2007-01-13 00:14:45 +00:00
mlphy.c Move the code that looks for the companion phy to a subroutine to make 2008-08-23 15:50:18 +00:00
nsgphy.c
nsgphyreg.h
nsphy.c - Fix a typo in a comment. 2008-01-27 01:30:02 +00:00
nsphyreg.h
nsphyter.c Add a driver for the National Semiconductor DP83815, DP83843 and 2008-01-27 01:10:41 +00:00
nsphyterreg.h Add a driver for the National Semiconductor DP83815, DP83843 and 2008-01-27 01:10:41 +00:00
pnaphy.c
qsphy.c
qsphyreg.h
rgephy.c Fix a copy/paste error 2008-08-06 07:52:59 +00:00
rgephyreg.h Add RTL8211C(L) support. 2008-07-02 08:10:18 +00:00
rlphy.c IEEE 802.3 Annex 28B.3 explicitly specifies the following relative 2007-11-16 10:25:36 +00:00
rlswitch.c MFp4: add basic driver for RTL8305SC switch in PHY emulation 2007-01-05 01:46:26 +00:00
ruephy.c - Take advantage of mii_phy_dev_probe() and mii_phy_setmedia(). 2007-01-13 00:06:41 +00:00
ruephyreg.h
smcphy.c This is a rewritten driver for the SMSC LAN91C111. It's based in part on the 2008-06-06 05:00:49 +00:00
tdkphy.c IEEE 802.3 Annex 28B.3 explicitly specifies the following relative 2007-11-16 10:25:36 +00:00
tdkphyreg.h
tlphy.c It turns out that my analysis of the error handling here was wrong. 2008-08-23 15:29:28 +00:00
tlphyreg.h
truephy.c Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit 2008-06-20 19:30:44 +00:00
truephyreg.h Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit 2008-06-20 19:30:44 +00:00
ukphy_subr.c IEEE 802.3 Annex 28B.3 explicitly specifies the following relative 2007-11-16 10:25:36 +00:00
ukphy.c - Don't set MIIF_NOISOLATE so ukphy(4) can be used in configurations with 2007-01-20 00:52:29 +00:00
xmphy.c
xmphyreg.h