aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2008-09-11 22:58:59 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 18:54:56 -0400
commitb95f5fcb8ba6073a652927d232a7a7cb552afe62 (patch)
tree74ed8cbc9c6d5a7329110cb9bb6347972d911c6b /drivers/net
parent762f4c57105853d1cbad3b96ef18aa23beff3db2 (diff)
ixgbe: add device support for XF LR adapters
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ixgbe/ixgbe_82598.c1
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
-rw-r--r--drivers/net/ixgbe/ixgbe_type.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c
index 1e014bcc72d9..07261406cd63 100644
--- a/drivers/net/ixgbe/ixgbe_82598.c
+++ b/drivers/net/ixgbe/ixgbe_82598.c
@@ -196,6 +196,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw)
196 case IXGBE_DEV_ID_82598AF_SINGLE_PORT: 196 case IXGBE_DEV_ID_82598AF_SINGLE_PORT:
197 case IXGBE_DEV_ID_82598EB_CX4: 197 case IXGBE_DEV_ID_82598EB_CX4:
198 case IXGBE_DEV_ID_82598_CX4_DUAL_PORT: 198 case IXGBE_DEV_ID_82598_CX4_DUAL_PORT:
199 case IXGBE_DEV_ID_82598EB_XF_LR:
199 media_type = ixgbe_media_type_fiber; 200 media_type = ixgbe_media_type_fiber;
200 break; 201 break;
201 case IXGBE_DEV_ID_82598AT_DUAL_PORT: 202 case IXGBE_DEV_ID_82598AT_DUAL_PORT:
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 5858ab2b48f0..3b0481a9979e 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -74,6 +74,8 @@ static struct pci_device_id ixgbe_pci_tbl[] = {
74 board_82598 }, 74 board_82598 },
75 {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT), 75 {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT),
76 board_82598 }, 76 board_82598 },
77 {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598EB_XF_LR),
78 board_82598 },
77 79
78 /* required last entry */ 80 /* required last entry */
79 {0, } 81 {0, }
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h
index 196841b344de..7057aa3f3938 100644
--- a/drivers/net/ixgbe/ixgbe_type.h
+++ b/drivers/net/ixgbe/ixgbe_type.h
@@ -40,6 +40,7 @@
40#define IXGBE_DEV_ID_82598AT_DUAL_PORT 0x10C8 40#define IXGBE_DEV_ID_82598AT_DUAL_PORT 0x10C8
41#define IXGBE_DEV_ID_82598EB_CX4 0x10DD 41#define IXGBE_DEV_ID_82598EB_CX4 0x10DD
42#define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC 42#define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC
43#define IXGBE_DEV_ID_82598EB_XF_LR 0x10F4
43 44
44/* General Registers */ 45/* General Registers */
45#define IXGBE_CTRL 0x00000 46#define IXGBE_CTRL 0x00000