diff options
author | Michael Brown | 2015-03-03 01:08:41 +0100 |
---|---|---|
committer | Michael Brown | 2015-03-03 01:08:41 +0100 |
commit | e399fc0d216533a5351631b6bc8bb97c898bc877 (patch) | |
tree | fa12db6c02f61eb68da83b8b02b7c1683174c6e4 /src/drivers/net/igbvf | |
parent | [pci] Remove outdated and mostly-unused pci_ids.h file (diff) | |
download | ipxe-e399fc0d216533a5351631b6bc8bb97c898bc877.tar.gz ipxe-e399fc0d216533a5351631b6bc8bb97c898bc877.tar.xz ipxe-e399fc0d216533a5351631b6bc8bb97c898bc877.zip |
[pci] Rewrite unrelicensable portions of pci.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/igbvf')
-rw-r--r-- | src/drivers/net/igbvf/igbvf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/igbvf/igbvf_main.c b/src/drivers/net/igbvf/igbvf_main.c index aace5ad5..fc7021c3 100644 --- a/src/drivers/net/igbvf/igbvf_main.c +++ b/src/drivers/net/igbvf/igbvf_main.c @@ -461,7 +461,7 @@ static int __devinit igbvf_sw_init ( struct igbvf_adapter *adapter ) hw->vendor_id = pdev->vendor; hw->device_id = pdev->device; - pci_read_config_byte ( pdev, PCI_REVISION_ID, &hw->revision_id ); + pci_read_config_byte ( pdev, PCI_REVISION, &hw->revision_id ); pci_read_config_word ( pdev, PCI_COMMAND, &hw->bus.pci_cmd_word ); |