diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2000-01-29 22:38:36 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2000-01-29 22:38:36 +0000 |
| commit | 4de1cbfab982c45ff578182f64948712ab1d20d3 (patch) | |
| tree | fa3c13d78a087eb2fae90950e0bec24bec8fd040 /sys/dev/ata/atapi-all.c | |
| parent | 6f30e43c0e410247e77c5a01efef4a265516435f (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata/atapi-all.c')
| -rw-r--r-- | sys/dev/ata/atapi-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index dc4e6488915a..0f3c98ed6b8d 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 */ - atp->controller->dev_softc[(atp->unit==ATA_MASTER)?0:1] = atp; + atp->controller->dev_softc[ATA_DEV(atp->unit)] = atp; } int32_t |
