summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-10-17 05:26:51 +0000
committeryongari <yongari@FreeBSD.org>2008-10-17 05:26:51 +0000
commit06e624317ce412583506c4d5894a3198310763e6 (patch)
tree8f2bd729f70e2c7489522031e9847fada605b430 /lib/libc/stdlib
parentf9a07efdb6b80bdada53f7869e131fec6834357b (diff)
downloadFreeBSD-src-06e624317ce412583506c4d5894a3198310763e6.zip
FreeBSD-src-06e624317ce412583506c4d5894a3198310763e6.tar.gz
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
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud