summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_debug.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-09 03:32:40 +0000
committermsmith <msmith@FreeBSD.org>2002-01-09 03:32:40 +0000
commitd41e8aa9b7dd5cb133cc085cf10891aa5dfce6f4 (patch)
treec2da036ae6bdd4092ab54976ec86dda4e541b152 /sys/dev/aac/aac_debug.c
parent4b04cada9319ee4ce88335eead3bb690bfb630bc (diff)
downloadFreeBSD-src-d41e8aa9b7dd5cb133cc085cf10891aa5dfce6f4.zip
FreeBSD-src-d41e8aa9b7dd5cb133cc085cf10891aa5dfce6f4.tar.gz
Staticise the aac devclass.
Diffstat (limited to 'sys/dev/aac/aac_debug.c')
-rw-r--r--sys/dev/aac/aac_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_debug.c b/sys/dev/aac/aac_debug.c
index 0d54223..3f29a83 100644
--- a/sys/dev/aac/aac_debug.c
+++ b/sys/dev/aac/aac_debug.c
@@ -133,7 +133,7 @@ aac_printstate0(void)
{
struct aac_softc *sc;
- sc = devclass_get_softc(aac_devclass, 0);
+ sc = devclass_get_softc(devclass_find("aac"), 0);
aac_print_queues(sc);
switch (sc->aac_hwif) {
@@ -163,7 +163,7 @@ aac_intr0(void)
{
struct aac_softc *sc;
- sc = devclass_get_softc(aac_devclass, 0);
+ sc = devclass_get_softc(devclass_find("aac"), 0);
aac_intr(sc);
}
OpenPOWER on IntegriCloud