mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
ixgb: add copper 10gig driver id
Add support for Copper 10GbE device ID 109E Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com>
This commit is contained in:
parent
f017f14b3f
commit
940829e2f9
@ -57,6 +57,7 @@ typedef enum {
|
||||
typedef enum {
|
||||
ixgb_media_type_unknown = 0,
|
||||
ixgb_media_type_fiber = 1,
|
||||
ixgb_media_type_copper = 2,
|
||||
ixgb_num_media_types
|
||||
} ixgb_media_type;
|
||||
|
||||
|
@ -43,6 +43,8 @@
|
||||
#define IXGB_SUBDEVICE_ID_A11F 0xA11F
|
||||
#define IXGB_SUBDEVICE_ID_A01F 0xA01F
|
||||
|
||||
#endif /* #ifndef _IXGB_IDS_H_ */
|
||||
#define IXGB_DEVICE_ID_82597EX_CX4 0x109E
|
||||
#define IXGB_SUBDEVICE_ID_A00C 0xA00C
|
||||
|
||||
#endif /* #ifndef _IXGB_IDS_H_ */
|
||||
/* End of File */
|
||||
|
@ -67,6 +67,8 @@ static char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation.";
|
||||
static struct pci_device_id ixgb_pci_tbl[] = {
|
||||
{INTEL_VENDOR_ID, IXGB_DEVICE_ID_82597EX,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{INTEL_VENDOR_ID, IXGB_DEVICE_ID_82597EX_CX4,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{INTEL_VENDOR_ID, IXGB_DEVICE_ID_82597EX_SR,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{INTEL_VENDOR_ID, IXGB_DEVICE_ID_82597EX_LR,
|
||||
@ -565,8 +567,9 @@ ixgb_sw_init(struct ixgb_adapter *adapter)
|
||||
hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH;
|
||||
|
||||
if((hw->device_id == IXGB_DEVICE_ID_82597EX)
|
||||
||(hw->device_id == IXGB_DEVICE_ID_82597EX_LR)
|
||||
||(hw->device_id == IXGB_DEVICE_ID_82597EX_SR))
|
||||
|| (hw->device_id == IXGB_DEVICE_ID_82597EX_CX4)
|
||||
|| (hw->device_id == IXGB_DEVICE_ID_82597EX_LR)
|
||||
|| (hw->device_id == IXGB_DEVICE_ID_82597EX_SR))
|
||||
hw->mac_type = ixgb_82597;
|
||||
else {
|
||||
/* should never have loaded on this device */
|
||||
|
Loading…
Reference in New Issue
Block a user