mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +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:
@@ -541,11 +541,7 @@ PCI_ROM(0x14ea, 0xab07, "fnw3800tx", "Planex FNW-3800-TX"),
|
||||
PCI_ROM(0xffff, 0x8139, "clone-rtl8139", "Cloned 8139"),
|
||||
};
|
||||
|
||||
static struct pci_driver rtl8139_driver __pci_driver = {
|
||||
.type = NIC_DRIVER,
|
||||
.name = "RTL8139",
|
||||
.probe = rtl8139_probe,
|
||||
.ids = rtl8139_nics,
|
||||
.id_count = sizeof(rtl8139_nics)/sizeof(rtl8139_nics[0]),
|
||||
.class = 0,
|
||||
};
|
||||
static struct pci_driver rtl8139_driver =
|
||||
PCI_DRIVER ( "RTL8139", rtl8139_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "RTL8139", rtl8139_probe );
|
||||
|
||||
Reference in New Issue
Block a user