summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/dmfe.c
diff options
context:
space:
mode:
authorMichael Brown2015-03-03 01:08:41 +0100
committerMichael Brown2015-03-03 01:08:41 +0100
commite399fc0d216533a5351631b6bc8bb97c898bc877 (patch)
treefa12db6c02f61eb68da83b8b02b7c1683174c6e4 /src/drivers/net/dmfe.c
parent[pci] Remove outdated and mostly-unused pci_ids.h file (diff)
downloadipxe-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/dmfe.c')
-rw-r--r--src/drivers/net/dmfe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/dmfe.c b/src/drivers/net/dmfe.c
index aae40fce..2ea0d2b2 100644
--- a/src/drivers/net/dmfe.c
+++ b/src/drivers/net/dmfe.c
@@ -462,7 +462,7 @@ static int dmfe_probe ( struct nic *nic, struct pci_device *pci ) {
pci->id->name, pci->vendor, pci->device);
/* Read Chip revision */
- pci_read_config_dword(pci, PCI_REVISION_ID, &dev_rev);
+ pci_read_config_dword(pci, PCI_REVISION, &dev_rev);
dprintf(("Revision %lX\n", dev_rev));
/* point to private storage */