mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[pci] Add driver_data field to struct pci_device_id
Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
committed by
Michael Brown
parent
87b494bbab
commit
3da6f1c7bd
@@ -298,7 +298,7 @@ static int virtnet_probe(struct nic *nic, struct pci_device *pci)
|
||||
}
|
||||
|
||||
static struct pci_device_id virtnet_nics[] = {
|
||||
PCI_ROM(0x1af4, 0x1000, "virtio-net", "Virtio Network Interface"),
|
||||
PCI_ROM(0x1af4, 0x1000, "virtio-net", "Virtio Network Interface", 0),
|
||||
};
|
||||
|
||||
PCI_DRIVER ( virtnet_driver, virtnet_nics, PCI_NO_CLASS );
|
||||
|
||||
Reference in New Issue
Block a user