mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +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:
@@ -533,14 +533,10 @@ PCI_ROM(0x10b7, 0x7646, "3csoho100-tx-1", "3CSOHO100-TX"), /* Hurricane */
|
||||
PCI_ROM(0x10b7, 0x4500, "3c450-1", "3Com450 HomePNA Tornado"),
|
||||
};
|
||||
|
||||
static struct pci_driver t595_driver __pci_driver = {
|
||||
.type = NIC_DRIVER,
|
||||
.name = "3C595",
|
||||
.probe = t595_probe,
|
||||
.ids = t595_nics,
|
||||
.id_count = sizeof(t595_nics)/sizeof(t595_nics[0]),
|
||||
.class = 0,
|
||||
};
|
||||
static struct pci_driver t595_driver =
|
||||
PCI_DRIVER ( "3C595", t595_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "3C595", t595_probe );
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
|
||||
Reference in New Issue
Block a user