diff options
author | Michael Chan <mchan@broadcom.com> | 2005-08-19 12:54:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-08-19 12:54:29 -0700 |
commit | da6b2d01d6bd2e79fd4f7a08acd37dc4e8fcdce8 (patch) | |
tree | 8cc7fcfa31f2d439545ff8d16ef188c1b1b7614c /drivers/net/tc35815.c | |
parent | 91aa9fb573fcc50bc74d5ee64c7e9b36131f1804 (diff) |
[TG3]: Fix SerDes detection
A problem was reported by Grant Grundler on an HP rx8620 using IOX
Core LAN partno(A7109-6) 5701 copper NIC. The tg3 driver mistakenly
detects this NIC as having a SerDes PHY and link does not come up as a
result.
The problem was caused by an incorrectly programmed eeprom that set the
NIC_SRAM_DATA_CFG_PHY_TYPE_FIBER bit in the NIC_SRAM_DATA_CFG location.
This patch will override the NIC_SRAM_DATA_CFG_PHY_TYPE_FIBER bit if a
valid PHY ID is read from the MII registers on older 570x chips where
the MII interface is not used on SerDes chips. On newer chips such as
the 5780 that use MII for both copper and SerDes, SerDes detection must
rely on the eeprom.
This patch will make the SerDes detection identical to versions 3.25 and
older.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Acked-by: Grant Grundler <iod00d@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tc35815.c')
0 files changed, 0 insertions, 0 deletions