summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_hw.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-08-24 00:45:36 -0400
committerJeff Garzik <jeff@garzik.org>2006-08-24 00:45:36 -0400
commit699a71238856b19091503c671bac8abb1e3f9a3a (patch)
treedb0e6db06961db05c35f3df61e7f14b845b7cd29 /drivers/net/ixgb/ixgb_hw.c
parent85a7ea1b0a3263f3ad423b789a841d03c9acbb65 (diff)
parent891b11f619dcfe045015394fa89041f02dac9428 (diff)
downloadtalos-op-linux-699a71238856b19091503c671bac8abb1e3f9a3a.tar.gz
talos-op-linux-699a71238856b19091503c671bac8abb1e3f9a3a.zip
Merge branch 'upstream-fixes' of git://lost.foo-projects.org/~ahkok/git/netdev-2.6 into tmp
Diffstat (limited to 'drivers/net/ixgb/ixgb_hw.c')
-rw-r--r--drivers/net/ixgb/ixgb_hw.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ixgb/ixgb_hw.c b/drivers/net/ixgb/ixgb_hw.c
index f7fa10e47fa2..2b1515574faf 100644
--- a/drivers/net/ixgb/ixgb_hw.c
+++ b/drivers/net/ixgb/ixgb_hw.c
@@ -236,6 +236,17 @@ ixgb_identify_phy(struct ixgb_hw *hw)
DEBUGOUT("Identified G6104 optics\n");
phy_type = ixgb_phy_type_g6104;
break;
+ case IXGB_DEVICE_ID_82597EX_CX4:
+ DEBUGOUT("Identified CX4\n");
+ xpak_vendor = ixgb_identify_xpak_vendor(hw);
+ if (xpak_vendor == ixgb_xpak_vendor_intel) {
+ DEBUGOUT("Identified TXN17201 optics\n");
+ phy_type = ixgb_phy_type_txn17201;
+ } else {
+ DEBUGOUT("Identified G6005 optics\n");
+ phy_type = ixgb_phy_type_g6005;
+ }
+ break;
default:
DEBUGOUT("Unknown physical layer module\n");
phy_type = ixgb_phy_type_unknown;
OpenPOWER on IntegriCloud