NetBSD/sys/dev/scsipi
bouyer 8cdd8d251c Revert part of 1.102:
Don't decrease/check xs_retries when the device report "Power On, Reset, or
Bus Device Reset" sense condition, just retry the command. The initial bus
reset would cause the first TEST_UNIT_READY to report this condition,
and as xs_retries is set to 0 when XS_CTL_DISCOVERY is set, it would report an
error instead of being retried, causing the disk probe to report "drive
offline" instead of the geometry and capacity. Checking/decreasing
xs_retries on the bus reset reported by the adapter is enouth to avoid the
problem reported by rev 1.102.

Problem analysed by Paul Kranenburg, fix confirmed by Anders Hjalmars,
and explaination as to why the INQUIRY wasn't affected by this provided by
Bill Studenmund.
2004-04-27 18:15:37 +00:00
..
Makefile
atapi_base.c Decrease xs_retries before retrying aborted commands, and report EIO if it 2004-03-10 21:57:31 +00:00
atapi_tape.h
atapi_wdc.c Clear drive_flags when wdc_atapi_get_params() fails. Avoid a panic later 2004-02-03 20:55:02 +00:00
atapiconf.c Remove the Fuji quirk from here, too. 2003-10-17 00:19:46 +00:00
atapiconf.h
cd.c Some older devices do not understand the `disable block descriptor' bit in 2004-04-24 09:26:14 +00:00
cdvar.h Eliminate the separate ATAPI and SCSI attachments for "cd". 2003-09-08 01:56:33 +00:00
ch.c use bounded string ops 2004-04-23 21:52:17 +00:00
files.scsipi Make the ATA mid-layer appears as atabus, as proposed in 2003-10-08 10:58:12 +00:00
if_se.c use bounded string ops 2004-04-23 21:52:17 +00:00
scsi_all.h
scsi_base.c
scsi_changer.h
scsi_ctron_ether.h
scsi_disk.h Forgot to commit this. Add the "rpm" field to the flex geometry page. 2003-09-05 09:00:08 +00:00
scsi_iu.h Add NetBSD RCS id. 2003-04-19 19:21:35 +00:00
scsi_message.h One more FreeBSD compat define. 2003-04-20 23:43:04 +00:00
scsi_scanner.h
scsi_tape.h
scsiconf.c Add a drive with broken tagged queuing support. From Jim Faulkner. 2004-03-12 23:00:40 +00:00
scsiconf.h
scsipi_all.h Do a 36-byte SCSI 2 inquiry first, and iff that returns an additional length 2003-10-16 17:34:43 +00:00
scsipi_base.c Revert part of 1.102: 2004-04-27 18:15:37 +00:00
scsipi_base.h
scsipi_cd.h Set PQUIRK_ONLYBIG in the wdc-atapi frontend, obviating the need to ever test 2003-09-07 22:11:22 +00:00
scsipi_debug.h
scsipi_disk.h If READ CAPACITY fails, try a READ FORMAT CAPACITIES. Separate this into 2003-09-17 23:33:43 +00:00
scsipi_ioctl.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
scsipi_verbose.c use bounded string ops 2004-04-23 21:52:17 +00:00
scsipiconf.c
scsipiconf.h cbd -> cdb 2004-03-16 19:10:43 +00:00
sd.c Use scsipi_adapter_minphys(). 2004-03-14 00:17:37 +00:00
sdvar.h parameter with two es. From Peter Postma. 2004-02-24 15:22:01 +00:00
ses.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ses.h
ss.c Use scsipi_adapter_minphys(). 2004-03-14 00:17:37 +00:00
ss_mustek.c
ss_mustek.h
ss_scanjet.c sprintf -> snprintf 2004-04-22 00:17:10 +00:00
ssvar.h boundary, not boundry. Inspired by Tom Cosgrove. 2003-11-02 10:31:06 +00:00
st.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
st_atapi.c Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
st_scsi.c
stvar.h
uk.c We only need a single attachment for uk at scsibus and atapibus. 2003-09-08 01:26:41 +00:00