diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-06-27 14:00:07 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 08:46:59 -0400 |
commit | d67ce5338c7c71313f01e508d893bb8104ce459a (patch) | |
tree | b7f0a20541c22b34351239737e9dc2901ccff15a /drivers/net/igb | |
parent | 733596bea6ba7ea7949720b86794eda4e1b793d1 (diff) |
igb: fix parameter options
Currently there are items in the driver to support parameters, but there
are no parameters being added to the driver.
Signed-off-by: Alexander Duyck <alexander.h.duyck@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/igb')
-rw-r--r-- | drivers/net/igb/igb_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index e9acc61dace2..d8bee212d61f 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -852,7 +852,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
852 | struct e1000_hw *hw; | 852 | struct e1000_hw *hw; |
853 | const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; | 853 | const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; |
854 | unsigned long mmio_start, mmio_len; | 854 | unsigned long mmio_start, mmio_len; |
855 | static int cards_found; | ||
856 | int i, err, pci_using_dac; | 855 | int i, err, pci_using_dac; |
857 | u16 eeprom_data = 0; | 856 | u16 eeprom_data = 0; |
858 | u16 eeprom_apme_mask = IGB_EEPROM_APME; | 857 | u16 eeprom_apme_mask = IGB_EEPROM_APME; |
@@ -945,8 +944,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
945 | netdev->mem_start = mmio_start; | 944 | netdev->mem_start = mmio_start; |
946 | netdev->mem_end = mmio_start + mmio_len; | 945 | netdev->mem_end = mmio_start + mmio_len; |
947 | 946 | ||
948 | adapter->bd_number = cards_found; | ||
949 | |||
950 | /* PCI config space info */ | 947 | /* PCI config space info */ |
951 | hw->vendor_id = pdev->vendor; | 948 | hw->vendor_id = pdev->vendor; |
952 | hw->device_id = pdev->device; | 949 | hw->device_id = pdev->device; |
@@ -1131,7 +1128,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1131 | adapter->msi_enabled ? "MSI" : "legacy", | 1128 | adapter->msi_enabled ? "MSI" : "legacy", |
1132 | adapter->num_rx_queues, adapter->num_tx_queues); | 1129 | adapter->num_rx_queues, adapter->num_tx_queues); |
1133 | 1130 | ||
1134 | cards_found++; | ||
1135 | return 0; | 1131 | return 0; |
1136 | 1132 | ||
1137 | err_register: | 1133 | err_register: |