mirror of
https://github.com/ipxe/ipxe
synced 2026-01-09 05:32:22 +03:00
[pci] Rewrite unrelicensable portions of pci.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -601,7 +601,7 @@ static int sundance_probe ( struct nic *nic, struct pci_device *pci ) {
|
||||
sdc->nic_name = pci->id->name;
|
||||
sdc->mtu = mtu;
|
||||
|
||||
pci_read_config_byte(pci, PCI_REVISION_ID, &sdc->pci_rev_id);
|
||||
pci_read_config_byte(pci, PCI_REVISION, &sdc->pci_rev_id);
|
||||
|
||||
DBG ( "Device revision id: %hx\n", sdc->pci_rev_id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user