david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Minor regexp tweaks to catch degenerate cases.

This commit is contained in:
Michael Brown 2005-04-12 23:13:54 +00:00
parent 4e3e389200
commit 35e6f3e58a
2 changed files with 8 additions and 16 deletions

View File

@ -1086,11 +1086,7 @@ static void getlinktype(struct nic *dev)
}
struct pci_driver mtd80x_driver __pci_driver ={
.type = NIC_DRIVER,
.name = "MTD80X",
.probe = mtd_probe,
.ids = mtd80x_nics,
.id_count = sizeof(mtd80x_nics)/sizeof(mtd80x_nics[0]),
.class = 0,
};
static struct pci_driver mtd80x_driver =
PCI_DRIVER ( "MTD80X", mtd80x_nics, PCI_NO_CLASS );
BOOT_DRIVER ( "MTD80X", mtd_probe );

View File

@ -1414,13 +1414,9 @@ PCI_ROM(0x1106, 0x3053, "via6105m", "VIA 6105M"),
PCI_ROM(0x1106, 0x6100, "via-rhine-old", "VIA 86C100A"), /* Rhine-II */
};
static struct pci_driver rhine_driver __pci_driver = {
.type = NIC_DRIVER,
.name = "VIA 86C100",
.probe = rhine_probe,
.ids = rhine_nics,
.id_count = sizeof(rhine_nics)/sizeof(rhine_nics[0]),
.class = 0,
};
static struct pci_driver rhine_driver =
PCI_DRIVER ( "VIA 86C100", rhine_nics, PCI_NO_CLASS );
BOOT_DRIVER ( "VIA 86C100", rhine_probe );
/* EOF via-rhine.c */