diff options
Diffstat (limited to 'sys/sparc64/fhc/fhc_nexus.c')
-rw-r--r-- | sys/sparc64/fhc/fhc_nexus.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/sparc64/fhc/fhc_nexus.c b/sys/sparc64/fhc/fhc_nexus.c index f5d0951..4943329 100644 --- a/sys/sparc64/fhc/fhc_nexus.c +++ b/sys/sparc64/fhc/fhc_nexus.c @@ -33,6 +33,7 @@ #include <sys/malloc.h> #include <sys/module.h> +#include <dev/ofw/ofw_bus.h> #include <dev/ofw/openfirm.h> #include <machine/bus.h> @@ -56,8 +57,6 @@ static device_method_t fhc_nexus_methods[] = { /* Bus interface. */ DEVMETHOD(bus_print_child, fhc_print_child), DEVMETHOD(bus_probe_nomatch, fhc_probe_nomatch), - DEVMETHOD(bus_read_ivar, fhc_read_ivar), - DEVMETHOD(bus_write_ivar, fhc_write_ivar), DEVMETHOD(bus_setup_intr, fhc_setup_intr), DEVMETHOD(bus_teardown_intr, fhc_teardown_intr), DEVMETHOD(bus_alloc_resource, fhc_alloc_resource), @@ -65,6 +64,13 @@ static device_method_t fhc_nexus_methods[] = { DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource), + /* ofw_bus interface */ + DEVMETHOD(ofw_bus_get_compat, fhc_get_compat), + DEVMETHOD(ofw_bus_get_model, fhc_get_model), + DEVMETHOD(ofw_bus_get_name, fhc_get_name), + DEVMETHOD(ofw_bus_get_node, fhc_get_node), + DEVMETHOD(ofw_bus_get_type, fhc_get_type), + { NULL, NULL } }; |