mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 19:38:37 +03:00
Auto-updated using
perl -pi -0777 -e 's/static struct pci_driver (\w+) __pci_driver = {.*\.name\s*=\s*(\"\S+\").*\.probe\s*=\s*(\w+).*\.ids\s*=\s*(\w+).*\.class\s*=\s*(\w+).*?};/static struct pci_driver $1 =\n\tPCI_DRIVER ( $2, $4, $5 );\n\nBOOT_DRIVER ( $2, $3 );/ms' *.c
perl -pi -e 's/(PCI_DRIVER \(.*, )0 \);/${1}PCI_NO_CLASS );/' *.c
This commit is contained in:
@@ -1000,14 +1000,10 @@ PCI_ROM(0x10bd, 0x0e34, "surecom-ne34", "Surecom NE34"),
|
||||
PCI_ROM(0x1106, 0x0926, "via86c926", "Via 86c926"),
|
||||
};
|
||||
|
||||
static struct pci_driver nepci_driver __pci_driver = {
|
||||
.type = NIC_DRIVER,
|
||||
.name = "NE2000/PCI",
|
||||
.probe = nepci_probe,
|
||||
.ids = nepci_nics,
|
||||
.id_count = sizeof(nepci_nics)/sizeof(nepci_nics[0]),
|
||||
.class = 0,
|
||||
};
|
||||
static struct pci_driver nepci_driver =
|
||||
PCI_DRIVER ( "NE2000/PCI", nepci_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "NE2000/PCI", nepci_probe );
|
||||
|
||||
#endif /* INCLUDE_NS8390 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user