Module Name: src Committed By: kardel Date: Thu Mar 28 10:44:29 UTC 2019
Modified Files: src/sys/dev/scsipi: scsi_spc.h scsiconf.c scsipi_base.c scsipiconf.c scsipiconf.h src/sys/dev/usb: umass_scsipi.c Log Message: Add reading of supported opcodes and their timeouts at attachment time. Though this information is optional, it allows to override our fixed timeouts with device provided timeouts. These timeouts will override the hardcoded values if the device provided timeouts exceed the hardcoded values and are less than a day. Using the device provided timeouts avoids premature device resets and unreliable operation due to inadequate timeouts. Due to the limited implementations of USB umass devices this feature is disabled for all umass attached devices. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/scsipi/scsi_spc.h cvs rdiff -u -r1.283 -r1.284 src/sys/dev/scsipi/scsiconf.c cvs rdiff -u -r1.181 -r1.182 src/sys/dev/scsipi/scsipi_base.c cvs rdiff -u -r1.44 -r1.45 src/sys/dev/scsipi/scsipiconf.c cvs rdiff -u -r1.129 -r1.130 src/sys/dev/scsipi/scsipiconf.h cvs rdiff -u -r1.60 -r1.61 src/sys/dev/usb/umass_scsipi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.