ixgbe: Create separate media type for CX4 adapters
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 14 Sep 2009 07:48:10 +0000 (07:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 00:03:45 +0000 (17:03 -0700)
commit6b1be1990d2f7d1a3b1f25bf3e6444600665764a
tree5952740e60cf74c04856113f13730250ed3c4189
parent8911184fed68d2cdde1a8a920813e07a6d4f997f
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>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_type.h