summaryrefslogtreecommitdiffstats
path: root/sys/dev/an
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-01-16 06:41:49 +0000
committerwpaul <wpaul@FreeBSD.org>2000-01-16 06:41:49 +0000
commitb0d0e9404a1f0c003f8cc2e5860cf6c551000367 (patch)
tree55bb3d9226d10f09250a2a12bb8c748679c8a03d /sys/dev/an
parentc1e1978daec688a983ac273556c8b59dde725552 (diff)
downloadFreeBSD-src-b0d0e9404a1f0c003f8cc2e5860cf6c551000367.zip
FreeBSD-src-b0d0e9404a1f0c003f8cc2e5860cf6c551000367.tar.gz
Fix an instance of rman_get_start() than should be rman_get_bushandle().
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 19e932a..0364058 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -189,7 +189,7 @@ int an_probe(dev)
* to be able to issue commands and call some of the
* other routines.
*/
- sc->an_bhandle = rman_get_start(sc->port_res);
+ sc->an_bhandle = rman_get_bushandle(sc->port_res);
sc->an_btag = rman_get_bustag(sc->port_res);
sc->an_unit = device_get_unit(dev);
OpenPOWER on IntegriCloud