diff options
Diffstat (limited to 'sys/dev/aic7xxx/ahc_pci.c')
-rw-r--r-- | sys/dev/aic7xxx/ahc_pci.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 0ea4cc1..c5e6983 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -50,15 +50,13 @@ static device_method_t ahc_pci_device_methods[] = { }; static driver_t ahc_pci_driver = { - "ahc_pci", + "ahc", ahc_pci_device_methods, sizeof(struct ahc_softc) }; -static devclass_t ahc_pci_devclass; - -DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_pci_devclass, 0, 0); -DRIVER_MODULE(ahc_pci, cardbus, ahc_pci_driver, ahc_pci_devclass, 0, 0); +DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_devclass, 0, 0); +DRIVER_MODULE(ahc_pci, cardbus, ahc_pci_driver, ahc_devclass, 0, 0); MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1); MODULE_VERSION(ahc_pci, 1); |