aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_82599.c
diff options
context:
space:
mode:
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2009-09-14 03:48:10 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-14 20:03:45 -0400
commit6b1be1990d2f7d1a3b1f25bf3e6444600665764a (patch)
tree5952740e60cf74c04856113f13730250ed3c4189 /drivers/net/ixgbe/ixgbe_82599.c
parent8911184fed68d2cdde1a8a920813e07a6d4f997f (diff)
ixgbe: Create separate media type for CX4 adapters
Currently the media type detection for CX4 adapters lumps them into a type of fiber. This causes some strange fallout when firmware verification is done on the NIC, and certain fiber NIC rules get enforced incorrectly. This patch introduces a new media type for CX4, and puts both 82598 and 82599 CX4 adapters into this bucket. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82599.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_82599.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c
index c9006bbd2ed3..2ec58dcdb82b 100644
--- a/drivers/net/ixgbe/ixgbe_82599.c
+++ b/drivers/net/ixgbe/ixgbe_82599.c
@@ -338,7 +338,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw)
338 media_type = ixgbe_media_type_fiber; 338 media_type = ixgbe_media_type_fiber;
339 break; 339 break;
340 case IXGBE_DEV_ID_82599_CX4: 340 case IXGBE_DEV_ID_82599_CX4:
341 media_type = ixgbe_media_type_fiber; 341 media_type = ixgbe_media_type_cx4;
342 break; 342 break;
343 default: 343 default:
344 media_type = ixgbe_media_type_unknown; 344 media_type = ixgbe_media_type_unknown;