mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[pci] Make driver PCI ID a property of the PCI device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -617,7 +617,7 @@ static int mtd_probe ( struct nic *nic, struct pci_device *pci ) {
|
||||
nic->ioaddr = pci->ioaddr;
|
||||
nic->irqno = 0;
|
||||
|
||||
mtdx.nic_name = pci->driver_name;
|
||||
mtdx.nic_name = pci->id->name;
|
||||
mtdx.dev_id = pci->device;
|
||||
mtdx.ioaddr = nic->ioaddr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user