diff options
author | Marius Strobl <marius@FreeBSD.org> | 2005-05-19 15:09:56 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2005-05-19 15:09:56 +0000 |
commit | 6283ced1e2e18c0f3fe0591da8cecf8046e09399 (patch) | |
tree | 3abb41777956776b59698495c7e95f987af59a34 /sys/sparc64/fhc/fhc_central.c | |
parent | 6059b9e1fd8aa1d543d1c915bbb2dc27e3090eda (diff) | |
download | src-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_central.c')
-rw-r--r-- | sys/sparc64/fhc/fhc_central.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/fhc/fhc_central.c b/sys/sparc64/fhc/fhc_central.c index a9487b459c0d..a63fb3e7a8b3 100644 --- a/sys/sparc64/fhc/fhc_central.c +++ b/sys/sparc64/fhc/fhc_central.c @@ -62,6 +62,7 @@ static device_method_t fhc_central_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), |