summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-02-11 07:37:00 +0000
committersos <sos@FreeBSD.org>2000-02-11 07:37:00 +0000
commit105fe3ec1d4b68df4a45269adb8c839eaaf666ee (patch)
tree3258d4e0befe4e7c5c79de2305f4d228a1264c5d /sys/dev
parent05998cbfe9b1b6d0bde18647a810c2588aa12f64 (diff)
downloadFreeBSD-src-105fe3ec1d4b68df4a45269adb8c839eaaf666ee.zip
FreeBSD-src-105fe3ec1d4b68df4a45269adb8c839eaaf666ee.tar.gz
That "NO DRIVER" panic fix wasn't good enough...
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/atapi-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c
index 4920675..b31290a 100644
--- a/sys/dev/ata/atapi-all.c
+++ b/sys/dev/ata/atapi-all.c
@@ -128,7 +128,7 @@ notfound:
atp = NULL;
}
/* store our softc */
- scp->dev_softc[ATA_DEV(atp->unit)] = atp;
+ scp->dev_softc[ATA_DEV(device)] = atp;
}
int32_t
OpenPOWER on IntegriCloud