summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta2017-12-27 05:34:45 +0100
committerMartin K. Petersen2018-01-04 05:26:43 +0100
commit8ebaa67fc23a09bcf2b285ae4130508256b31923 (patch)
tree6ddf125dd668e4c159198f38121941a268e5f064 /drivers/scsi/aacraid/aacraid.h
parentscsi: aacraid: Block concurrent hotplug event handling (diff)
downloadkernel-qcow2-linux-8ebaa67fc23a09bcf2b285ae4130508256b31923.tar.gz
kernel-qcow2-linux-8ebaa67fc23a09bcf2b285ae4130508256b31923.tar.xz
kernel-qcow2-linux-8ebaa67fc23a09bcf2b285ae4130508256b31923.zip
scsi: aacraid: Use hotplug handling function in place of scsi_scan_host
Driver uses scsi_scan_host to add new devices in the driver init path, which adds all the fw exposed devices. The drivers resorts to queue command checks to block out commands to _hidden_ devices. Use the hotplug handler code to add new devices during driver init and other areas, this is only for safw. For ARC scsi_scan_host will still apply. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index c70c998743ac..ba84d9985ce7 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -2719,6 +2719,7 @@ static inline int aac_supports_2T(struct aac_dev *dev)
return (dev->adapter_info.options & AAC_OPT_NEW_COMM_64);
}
+int aac_scan_host(struct aac_dev *dev, int rescan);
char * get_container_type(unsigned type);
extern int numacb;
extern char aac_driver_version[];