aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/fhc/fhc_nexus.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2005-05-19 15:09:56 +0000
committerMarius Strobl <marius@FreeBSD.org>2005-05-19 15:09:56 +0000
commit6283ced1e2e18c0f3fe0591da8cecf8046e09399 (patch)
tree3abb41777956776b59698495c7e95f987af59a34 /sys/sparc64/fhc/fhc_nexus.c
parent6059b9e1fd8aa1d543d1c915bbb2dc27e3090eda (diff)
downloadsrc-6283ced1e2e18c0f3fe0591da8cecf8046e09399.tar.gz
src-6283ced1e2e18c0f3fe0591da8cecf8046e09399.zip
- Add suport for the bus_get_resource() device interface method to
central(4) and fhc(4) by using bus_generic_rl_get_resource(). - Remove some superfluous breaks in central.c
Notes
Notes: svn path=/head/; revision=146398
Diffstat (limited to 'sys/sparc64/fhc/fhc_nexus.c')
-rw-r--r--sys/sparc64/fhc/fhc_nexus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/fhc/fhc_nexus.c b/sys/sparc64/fhc/fhc_nexus.c
index dd09d116a0d3..c6c286005387 100644
--- a/sys/sparc64/fhc/fhc_nexus.c
+++ b/sys/sparc64/fhc/fhc_nexus.c
@@ -65,6 +65,7 @@ static device_method_t fhc_nexus_methods[] = {
DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource),
DEVMETHOD(bus_get_resource_list, fhc_get_resource_list),
+ DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_compat, fhc_get_compat),