]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ixgbe: Add support for 82599-based CX4 adapters
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 14 Sep 2009 07:47:49 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 00:03:42 +0000 (17:03 -0700)
This patch adds support for CX4 adapters based on 82599.

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_82599.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h

index 61af47e75aa1c66670f284133a5351d99c69ad4b..c9006bbd2ed34b5072a81892d432ed96e2c4ee67 100644 (file)
@@ -337,6 +337,9 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw)
        case IXGBE_DEV_ID_82599_SFP:
                media_type = ixgbe_media_type_fiber;
                break;
+       case IXGBE_DEV_ID_82599_CX4:
+               media_type = ixgbe_media_type_fiber;
+               break;
        default:
                media_type = ixgbe_media_type_unknown;
                break;
index b47aaa88133442e8703d5628582f7e4426fb3e87..59ad9590e700c23b79a7a512c0818302408ae06a 100644 (file)
@@ -97,6 +97,8 @@ static struct pci_device_id ixgbe_pci_tbl[] = {
         board_82599 },
        {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP),
         board_82599 },
+       {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_CX4),
+        board_82599 },
 
        /* required last entry */
        {0, }
index 8ba90eec1dc9fe1b7da78628106e1e4c2dd3d5dd..37303a15e6de693f48287ce07d1285026547a402 100644 (file)
@@ -49,6 +49,7 @@
 #define IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM      0x10E1
 #define IXGBE_DEV_ID_82598EB_XF_LR       0x10F4
 #define IXGBE_DEV_ID_82599_KX4           0x10F7
+#define IXGBE_DEV_ID_82599_CX4           0x10F9
 #define IXGBE_DEV_ID_82599_SFP           0x10FB
 #define IXGBE_DEV_ID_82599_XAUI_LOM      0x10FC