Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/aac/aac_pci.c
Show First 20 Lines • Show All 487 Lines • ▼ Show 20 Lines | |||||
static driver_t aacch_driver = { | static driver_t aacch_driver = { | ||||
"aacch", | "aacch", | ||||
aacch_methods, | aacch_methods, | ||||
1 /* no softc */ | 1 /* no softc */ | ||||
}; | }; | ||||
static devclass_t aacch_devclass; | static devclass_t aacch_devclass; | ||||
DRIVER_MODULE(aacch, pci, aacch_driver, aacch_devclass, NULL, NULL); | DRIVER_MODULE(aacch, pci, aacch_driver, aacch_devclass, NULL, NULL); | ||||
MODULE_PNP_INFO("U16:vendor;U16:device;", pci, aac, | MODULE_PNP_INFO("U16:vendor;U16:device;U16:subvendor;U16:subdevice", pci, aac, | ||||
aac_identifiers, nitems(aac_identifiers) - 1); | aac_identifiers, nitems(aac_identifiers) - 1); | ||||
static int | static int | ||||
aacch_probe(device_t dev) | aacch_probe(device_t dev) | ||||
{ | { | ||||
if ((pci_get_vendor(dev) != 0x9005) || | if ((pci_get_vendor(dev) != 0x9005) || | ||||
(pci_get_device(dev) != 0x00c5)) | (pci_get_device(dev) != 0x00c5)) | ||||
Show All 19 Lines |