Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ahci/ahci_fsl_fdt.c
Show First 20 Lines • Show All 400 Lines • ▼ Show 20 Lines | static const device_method_t ahci_fsl_fdt_methods[] = { | ||||
DEVMETHOD(device_probe, ahci_fsl_fdt_probe), | DEVMETHOD(device_probe, ahci_fsl_fdt_probe), | ||||
DEVMETHOD(device_attach, ahci_fsl_fdt_attach), | DEVMETHOD(device_attach, ahci_fsl_fdt_attach), | ||||
DEVMETHOD(device_detach, ahci_fsl_fdt_detach), | DEVMETHOD(device_detach, ahci_fsl_fdt_detach), | ||||
DEVMETHOD(bus_alloc_resource, ahci_alloc_resource), | DEVMETHOD(bus_alloc_resource, ahci_alloc_resource), | ||||
DEVMETHOD(bus_release_resource, ahci_release_resource), | DEVMETHOD(bus_release_resource, ahci_release_resource), | ||||
DEVMETHOD(bus_setup_intr, ahci_setup_intr), | DEVMETHOD(bus_setup_intr, ahci_setup_intr), | ||||
DEVMETHOD(bus_teardown_intr, ahci_teardown_intr), | DEVMETHOD(bus_teardown_intr, ahci_teardown_intr), | ||||
DEVMETHOD(bus_print_child, ahci_print_child), | DEVMETHOD(bus_print_child, ahci_print_child), | ||||
DEVMETHOD(bus_child_location_str, ahci_child_location_str), | DEVMETHOD(bus_child_location, ahci_child_location), | ||||
DEVMETHOD(bus_get_dma_tag, ahci_get_dma_tag), | DEVMETHOD(bus_get_dma_tag, ahci_get_dma_tag), | ||||
DEVMETHOD_END | DEVMETHOD_END | ||||
}; | }; | ||||
static driver_t ahci_fsl_fdt_driver = { | static driver_t ahci_fsl_fdt_driver = { | ||||
"ahci", | "ahci", | ||||
ahci_fsl_fdt_methods, | ahci_fsl_fdt_methods, | ||||
sizeof(struct ahci_fsl_fdt_controller), | sizeof(struct ahci_fsl_fdt_controller), | ||||
}; | }; | ||||
static devclass_t ahci_fsl_fdt_devclass; | static devclass_t ahci_fsl_fdt_devclass; | ||||
DRIVER_MODULE(ahci_fsl, simplebus, ahci_fsl_fdt_driver, ahci_fsl_fdt_devclass, | DRIVER_MODULE(ahci_fsl, simplebus, ahci_fsl_fdt_driver, ahci_fsl_fdt_devclass, | ||||
NULL, NULL); | NULL, NULL); | ||||
DRIVER_MODULE(ahci_fsl, ofwbus, ahci_fsl_fdt_driver, ahci_fsl_fdt_devclass, | DRIVER_MODULE(ahci_fsl, ofwbus, ahci_fsl_fdt_driver, ahci_fsl_fdt_devclass, | ||||
NULL, NULL); | NULL, NULL); |