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:
Michael Brown
2005-04-12 23:05:00 +00:00
parent 241fb0f3cd
commit 4e3e389200
23 changed files with 92 additions and 184 deletions

View File

@@ -948,11 +948,7 @@ PCI_ROM(0x1050, 0x0840, "winbond840", "Winbond W89C840F"),
PCI_ROM(0x11f6, 0x2011, "compexrl100atx", "Compex RL100ATX"),
};
static struct pci_driver w89c840_driver __pci_driver = {
.type = NIC_DRIVER,
.name = "W89C840F",
.probe = w89c840_probe,
.ids = w89c840_nics,
.id_count = sizeof(w89c840_nics)/sizeof(w89c840_nics[0]),
.class = 0,
};
static struct pci_driver w89c840_driver =
PCI_DRIVER ( "W89C840F", w89c840_nics, PCI_NO_CLASS );
BOOT_DRIVER ( "W89C840F", w89c840_probe );