diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-07-20 06:22:00 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-07-20 06:22:00 +0000 |
commit | 881930e88475a16043cfa675931d74c35fcbefe1 (patch) | |
tree | 9bf4a7b3a47bee70e99d1c385a397833c3998af3 /sys/dev/atapiscsi/atapiscsi.c | |
parent | 7c463d64ebc3501936f499ed86d1f206e9b66763 (diff) |
Make acd redundant.
Mostly based on NetBSD-current
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c index 36f73e8dce4..ab34d658bb1 100644 --- a/sys/dev/atapiscsi/atapiscsi.c +++ b/sys/dev/atapiscsi/atapiscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atapiscsi.c,v 1.2 1999/07/19 00:32:44 csapuntz Exp $ */ +/* $OpenBSD: atapiscsi.c,v 1.3 1999/07/20 06:21:58 csapuntz Exp $ */ /* * This code is derived from code with the copyright below. @@ -197,6 +197,7 @@ atapiscsi_attach(parent, self, aux) as->sc_adapterlink.adapter = &atapiscsi_switch; as->sc_adapterlink.device = &atapiscsi_dev; as->sc_adapterlink.openings = 1; + as->sc_adapterlink.flags = SDEV_ATAPI; as->sc_wdc->channels[as->sc_channel]->ch_as = as; for (drive = 0; drive < 2 ; drive++ ) { @@ -782,7 +783,7 @@ again: sc_xfer->error = XS_SHORTSENSE; ATAPI_TO_SCSI_SENSE(&sc_xfer->sense, chp->ch_error); if ((sc_xfer->sc_link->quirks & - SDEV_NOSENSE) == 0) { + ADEV_NOSENSE) == 0) { /* * let the driver issue a * 'request sense' |