diff options
Diffstat (limited to 'drivers/net/ixgbevf')
-rw-r--r-- | drivers/net/ixgbevf/ixgbevf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c index 43af761cdb16..1e735a14091c 100644 --- a/drivers/net/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ixgbevf/ixgbevf_main.c | |||
@@ -2221,7 +2221,7 @@ static int __devinit ixgbevf_sw_init(struct ixgbevf_adapter *adapter) | |||
2221 | 2221 | ||
2222 | hw->vendor_id = pdev->vendor; | 2222 | hw->vendor_id = pdev->vendor; |
2223 | hw->device_id = pdev->device; | 2223 | hw->device_id = pdev->device; |
2224 | pci_read_config_byte(pdev, PCI_REVISION_ID, &hw->revision_id); | 2224 | hw->revision_id = pdev->revision; |
2225 | hw->subsystem_vendor_id = pdev->subsystem_vendor; | 2225 | hw->subsystem_vendor_id = pdev->subsystem_vendor; |
2226 | hw->subsystem_device_id = pdev->subsystem_device; | 2226 | hw->subsystem_device_id = pdev->subsystem_device; |
2227 | 2227 | ||