| From 747d49baaf4e3f4ad5ae77477830da026eeef69d Mon Sep 17 00:00:00 2001 |
| From: Alexander Duyck <alexander.h.duyck@intel.com> |
| Date: Mon, 5 Oct 2009 06:33:27 +0000 |
| Subject: igb: add support for 82576NS SerDes adapter |
| |
| From: Alexander Duyck <alexander.h.duyck@intel.com> |
| |
| commit 747d49baaf4e3f4ad5ae77477830da026eeef69d upstream. |
| |
| This patch adds the device ID necessary to support the 82576NS SerDes |
| adapter. |
| |
| Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> |
| Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Cc: maximilian attems <max@stro.at> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| drivers/net/igb/e1000_82575.c | 1 + |
| drivers/net/igb/e1000_hw.h | 1 + |
| drivers/net/igb/igb_main.c | 1 + |
| 3 files changed, 3 insertions(+) |
| |
| --- a/drivers/net/igb/e1000_82575.c |
| +++ b/drivers/net/igb/e1000_82575.c |
| @@ -81,6 +81,7 @@ static s32 igb_get_invariants_82575(stru |
| break; |
| case E1000_DEV_ID_82576: |
| case E1000_DEV_ID_82576_NS: |
| + case E1000_DEV_ID_82576_NS_SERDES: |
| case E1000_DEV_ID_82576_FIBER: |
| case E1000_DEV_ID_82576_SERDES: |
| case E1000_DEV_ID_82576_QUAD_COPPER: |
| --- a/drivers/net/igb/e1000_hw.h |
| +++ b/drivers/net/igb/e1000_hw.h |
| @@ -42,6 +42,7 @@ struct e1000_hw; |
| #define E1000_DEV_ID_82576_SERDES 0x10E7 |
| #define E1000_DEV_ID_82576_QUAD_COPPER 0x10E8 |
| #define E1000_DEV_ID_82576_NS 0x150A |
| +#define E1000_DEV_ID_82576_NS_SERDES 0x1518 |
| #define E1000_DEV_ID_82576_SERDES_QUAD 0x150D |
| #define E1000_DEV_ID_82575EB_COPPER 0x10A7 |
| #define E1000_DEV_ID_82575EB_FIBER_SERDES 0x10A9 |
| --- a/drivers/net/igb/igb_main.c |
| +++ b/drivers/net/igb/igb_main.c |
| @@ -63,6 +63,7 @@ static const struct e1000_info *igb_info |
| static struct pci_device_id igb_pci_tbl[] = { |
| { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576), board_82575 }, |
| { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_NS), board_82575 }, |
| + { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_NS_SERDES), board_82575 }, |
| { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_FIBER), board_82575 }, |
| { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_SERDES), board_82575 }, |
| { PCI_VDEVICE(INTEL, E1000_DEV_ID_82576_SERDES_QUAD), board_82575 }, |