Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ahci/ahci_generic.c
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | static device_method_t ahci_methods[] = { | ||||
DEVMETHOD_END | DEVMETHOD_END | ||||
}; | }; | ||||
static driver_t ahci_driver = { | static driver_t ahci_driver = { | ||||
"ahci", | "ahci", | ||||
ahci_methods, | ahci_methods, | ||||
sizeof(struct ahci_controller) | sizeof(struct ahci_controller) | ||||
}; | }; | ||||
DRIVER_MODULE(ahci, simplebus, ahci_driver, ahci_gen_devclass, NULL, NULL); | DRIVER_MODULE(ahci, simplebus, ahci_driver, ahci_gen_devclass, NULL, NULL); | ||||
SIMPLEBUS_PNP_INFO(compat_data); |