ixgbe: add cx4 device ID
Subsystems (2)
PATCH 1/1 ixgbe: add cx4 device ID
From: Jesse Brandeburg <[email protected]>
This is a simple device ID add for adapters that support CX4 (copper infiniband style cable) connectors for 10GbE.
Signed-off-by Jesse Brandeburg <[email protected]>
Signed-off-by Jeff Kirsher <[email protected]>
---
drivers/net/ixgbe/ixgbe_82598.c | 1 + drivers/net/ixgbe/ixgbe_main.c | 4 +++- drivers/net/ixgbe/ixgbe_type.h | 1 + 3 files changed, 5 insertions(+), 1 deletions(-)
drivers/net/ixgbe/ixgbe_82598.c +1 -0
@@ -190,6 +190,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw)case IXGBE_DEV_ID_82598AF_DUAL_PORT :case IXGBE_DEV_ID_82598AF_SINGLE_PORT :case IXGBE_DEV_ID_82598EB_CX4 : +case IXGBE_DEV_ID_82598_CX4_DUAL_PORT : media_type = ixgbe_media_type_fiber;break ;case IXGBE_DEV_ID_82598AT_DUAL_PORT :
drivers/net/ixgbe/ixgbe_main.c +3 -1
@@ -48,7 +48,7 @@ char ixgbe_driver_name[] = "ixgbe";static const char ixgbe_driver_string[] ="Intel(R) 10 Gigabit PCI Express Network Driver" ; -#define DRV_VERSION "1.3.18-k2" +#define DRV_VERSION "1.3.18-k4"const char ixgbe_driver_version[] =DRV_VERSION ;static const char ixgbe_copyright[] ="Copyright (c) 1999-2007 Intel Corporation." ;
@@ -72,6 +72,8 @@ static struct pci_device_id ixgbe_pci_tbl[] = { board_82598 }, {PCI_VDEVICE (INTEL ,IXGBE_DEV_ID_82598EB_CX4 ), board_82598 }, + {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT), + board_82598 },/* required last entry */ {0, }
drivers/net/ixgbe/ixgbe_type.h +1 -0
@@ -39,6 +39,7 @@#define IXGBE_DEV_ID_82598AF_SINGLE_PORT 0x10C7#define IXGBE_DEV_ID_82598AT_DUAL_PORT 0x10C8#define IXGBE_DEV_ID_82598EB_CX4 0x10DD +#define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC/* General Registers */ #define IXGBE_CTRL 0x00000
Jeff Garzik
AppliedQuoted 53 lines · Jeff Kirsher
From: Jesse Brandeburg <[email protected]>
This is a simple device ID add for adapters that support CX4 (copper infiniband style cable) connectors for 10GbE.
Signed-off-by Jesse Brandeburg <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
drivers/net/ixgbe/ixgbe_82598.c | 1 + drivers/net/ixgbe/ixgbe_main.c | 4 +++- drivers/net/ixgbe/ixgbe_type.h | 1 + 3 files changed, 5 insertions(+), 1 deletions(-)drivers/net/ixgbe/ixgbe_82598.c +1
-0@@ -190,6 +190,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw)case IXGBE_DEV_ID_82598AF_DUAL_PORT :case IXGBE_DEV_ID_82598AF_SINGLE_PORT :case IXGBE_DEV_ID_82598EB_CX4 : +case IXGBE_DEV_ID_82598_CX4_DUAL_PORT : media_type = ixgbe_media_type_fiber;break ;case IXGBE_DEV_ID_82598AT_DUAL_PORT :drivers/net/ixgbe/ixgbe_main.c +3
-1@@ -48,7 +48,7 @@ char ixgbe_driver_name[] = "ixgbe";static const char ixgbe_driver_string[] ="Intel(R) 10 Gigabit PCI Express Network Driver" ; -#define DRV_VERSION "1.3.18-k2" +#define DRV_VERSION "1.3.18-k4"const char ixgbe_driver_version[] =DRV_VERSION ;static const char ixgbe_copyright[] ="Copyright (c) 1999-2007 Intel Corporation." ;@@ -72,6 +72,8 @@ static struct pci_device_id ixgbe_pci_tbl[] = { board_82598 }, {PCI_VDEVICE (INTEL ,IXGBE_DEV_ID_82598EB_CX4 ), board_82598 }, + {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT), + board_82598 },/* required last entry */ {0, }drivers/net/ixgbe/ixgbe_type.h +0
-0
drivers/net/ixgbe/ixgbe_type.h line 43
Quoted 5 lines
drivers/net/ixgbe/ixgbe_type.h +1
-0@@ -39,6 +39,7 @@#define IXGBE_DEV_ID_82598AF_SINGLE_PORT 0x10C7#define IXGBE_DEV_ID_82598AT_DUAL_PORT 0x10C8#define IXGBE_DEV_ID_82598EB_CX4 0x10DD +#define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC
applied