diff options
Diffstat (limited to 'sys/dev/aac/aac_debug.c')
-rw-r--r-- | sys/dev/aac/aac_debug.c | 4 |
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); } |