• James Bottomley's avatar
    SCSI: make SCSI REPORT LUNS the default · fded8abe
    James Bottomley authored
    From: garloff@suse.de
    
    Cleanup/Feature
    
    Remove CONFIG_SCSI_REPORT_LUNS config option.
    Instead provide BLIST_NOREPORTLUN that can be passed as default_dev_flags
    (but also per device if needed).
    Provide BLIST_REPORTLUN2 that allows trying to use REPORT_LUNS for SCSI-2
    devices, if they are connected to a host adapter supporting more than 8 LUNs
    (and thus avoiding the usual USB crap to render this feature useless when
    used with default_dev_flags).
    
     drivers/scsi/Kconfig        |   11 -----------
     drivers/scsi/scsi_scan.c    |   19 +++++++++----------
     include/scsi/scsi_devinfo.h |    3 +++
     3 files changed, 12 insertions(+), 21 deletions(-)
    fded8abe
scsi_devinfo.h 1.46 KB