summaryrefslogtreecommitdiff
path: root/drivers/scsi/aha152x.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-10-16 08:31:25 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-18 04:37:26 +0300
commit87c58ef5a57f46b1d78117317a7d8806ad16f404 (patch)
treefc924db5c7cf5584984116b3c3d35aab5cd5204a /drivers/scsi/aha152x.c
parentfd47d919d0c336e7c22862b51ee94927ffea227a (diff)
downloadlinux-87c58ef5a57f46b1d78117317a7d8806ad16f404.tar.xz
scsi: esp_scsi: Grant disconnect privilege for untagged commands
A SCSI device is not granted disconnect privilege by an esp_scsi host unless that device has its simple_tags flag set. However, a device may support disconnect/reselect and not support command queueing. Allow such devices to disconnect and thereby improve bus utilization. Drop the redundant 'lp' check. The mid-layer invokes .slave_alloc and .slave_destroy in such a way that we may rely on scmd->device->hostdata for as long as scmd belongs to the low-level driver. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aha152x.c')
0 files changed, 0 insertions, 0 deletions