]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ixgbe: add support for new 82599 device
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 8 Sep 2011 08:30:14 +0000 (08:30 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:14:11 +0000 (22:14 +0800)
This patch adds support for new device ID.

(cherry picked from commit 7d145282da8d1ae4ba5f7ead8a4f51183496803c)
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h

index 5abd52004f64660fb7d27f2ddec47fa6959e3730..cdcf32a8affff90e6943e052ddcd0b164e792201 100644 (file)
@@ -361,6 +361,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw)
        case IXGBE_DEV_ID_82599_SFP_FCOE:
        case IXGBE_DEV_ID_82599_SFP_EM:
        case IXGBE_DEV_ID_82599_SFP_SF2:
+       case IXGBE_DEV_ID_82599EN_SFP:
                media_type = ixgbe_media_type_fiber;
                break;
        case IXGBE_DEV_ID_82599_CX4:
index 1a929c4e63be91ab51aad455fb49686aef6cacf3..90a11b7e76a1a82e3d5ee3404d9f870eb3513812 100644 (file)
@@ -104,6 +104,7 @@ static DEFINE_PCI_DEVICE_TABLE(ixgbe_pci_tbl) = {
        {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540T), board_X540 },
        {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP_SF2), board_82599 },
        {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_LS), board_82599 },
+       {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599EN_SFP), board_82599 },
        /* required last entry */
        {0, }
 };
index c3a60e4b1e1dcc0bd250b743cc872e3a8ab32a3e..43c6ad2810c8e0ce8dd4d5209d7d7b84f75c9342 100644 (file)
@@ -59,6 +59,7 @@
 #define IXGBE_SUBDEV_ID_82599_SFP        0x11A9
 #define IXGBE_DEV_ID_82599_SFP_EM        0x1507
 #define IXGBE_DEV_ID_82599_SFP_SF2       0x154D
+#define IXGBE_DEV_ID_82599EN_SFP         0x1557
 #define IXGBE_DEV_ID_82599_XAUI_LOM      0x10FC
 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE 0x10F8
 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ  0x000C