freebsd-dev/sys/cam/scsi
Kenneth D. Merry 65afe1f454 In camperiphdone(), make sure we check for fatal errors and bail out
instead of retrying them blindly.

This should fix some of the problems people have been having with cdrom
drives taking a long time to probe.  This should also eliminate the need
for the initial TUR in cdsize().

cam_periph.c:	Don't keep retrying if the error we get back is a fatal
		error.  This should help us detect the transition from
		"Logical unit not ready, cause not reportable" to "Medium
		not present" in the "TUR many" handler.  (The TUR many
		handler gets triggered for Logical unit not ready, cause
		not reportable errors.)

scsi_cd.c:	Remove the initial test unit ready in cdsize().  Hopefully
		it isn't necessary after the above change.

Submitted by:	gibbs (mostly)
Tested by:	peter
MFC After:	2 weeks
2003-10-27 06:15:55 +00:00
..
scsi_all.c (scsi_request_sense): Set allocation length in REQUEST_SENSE CCB. 2003-09-21 08:45:36 +00:00
scsi_all.h Add support to CAM for devices with more than 2^32 blocks. (2TB if you're 2003-04-30 00:35:22 +00:00
scsi_cd.c In camperiphdone(), make sure we check for fatal errors and bail out 2003-10-27 06:15:55 +00:00
scsi_cd.h Fix ATAPI/USB/Firewire CDROM drive handling in cd(4) and hopefully fix 2003-02-21 06:19:38 +00:00
scsi_ch.c Use __FBSDID(). 2003-06-10 18:14:05 +00:00
scsi_ch.h Use symbolic constants instead of "4". 2003-05-31 16:54:37 +00:00
scsi_da.c (dacleanup, dasysctlinit): Defend against calling sysctl_ctx_free on 2003-10-08 07:12:30 +00:00
scsi_da.h
scsi_dvcfg.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_iu.h Add definitions for the task management codes sent in SPI4 2003-01-20 18:05:46 +00:00
scsi_low_pisa.c Use __FBSDID(). 2003-06-10 18:14:05 +00:00
scsi_low_pisa.h Remove __P. 2002-03-20 08:56:31 +00:00
scsi_low.c Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:41 +00:00
scsi_low.h use __packed. 2002-09-23 18:54:32 +00:00
scsi_message.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_pass.c Use __FBSDID(). 2003-06-10 18:14:05 +00:00
scsi_pass.h Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
scsi_pt.c Use __FBSDID(). 2003-06-10 18:14:05 +00:00
scsi_pt.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_sa.c I forgot whom I got this from- only set single initiator buffered mode 2003-09-13 02:01:56 +00:00
scsi_sa.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_ses.c Use __FBSDID(). 2003-06-10 18:14:05 +00:00
scsi_ses.h
scsi_targ_bh.c - Pick up a correct path_id for the bus on AC_PATH_REGISTERED. 2003-09-30 08:03:52 +00:00
scsi_target.c Be kind to 64bit architectures. 2003-10-02 08:56:14 +00:00
scsi_targetio.h New SCSI target emulator code 2002-11-22 22:55:51 +00:00