Commit f9e06c6904e5c48ea34e9734001e50b4c73837e4
Merge remote-tracking branch 'scsi-queue/core-for-3.17' into for-next
Showing 4 changed files Side-by-side Diff
drivers/scsi/scsi.c
... | ... | @@ -365,8 +365,8 @@ |
365 | 365 | if (!pool) |
366 | 366 | return NULL; |
367 | 367 | |
368 | - pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->name); | |
369 | - pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->name); | |
368 | + pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); | |
369 | + pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); | |
370 | 370 | if (!pool->cmd_name || !pool->sense_name) { |
371 | 371 | scsi_free_host_cmd_pool(pool); |
372 | 372 | return NULL; |
drivers/scsi/scsi_devinfo.c
... | ... | @@ -222,6 +222,7 @@ |
222 | 222 | {"PIONEER", "CD-ROM DRM-602X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN}, |
223 | 223 | {"PIONEER", "CD-ROM DRM-604X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN}, |
224 | 224 | {"PIONEER", "CD-ROM DRM-624X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN}, |
225 | + {"Promise", "VTrak E610f", NULL, BLIST_SPARSELUN | BLIST_NO_RSOC}, | |
225 | 226 | {"Promise", "", NULL, BLIST_SPARSELUN}, |
226 | 227 | {"QUANTUM", "XP34301", "1071", BLIST_NOTQ}, |
227 | 228 | {"REGAL", "CDC-4X", NULL, BLIST_MAX5LUN | BLIST_SINGLELUN}, |
drivers/scsi/scsi_scan.c
... | ... | @@ -900,6 +900,12 @@ |
900 | 900 | if (*bflags & BLIST_USE_10_BYTE_MS) |
901 | 901 | sdev->use_10_for_ms = 1; |
902 | 902 | |
903 | + /* some devices don't like REPORT SUPPORTED OPERATION CODES | |
904 | + * and will simply timeout causing sd_mod init to take a very | |
905 | + * very long time */ | |
906 | + if (*bflags & BLIST_NO_RSOC) | |
907 | + sdev->no_report_opcodes = 1; | |
908 | + | |
903 | 909 | /* set the device running here so that slave configure |
904 | 910 | * may do I/O */ |
905 | 911 | ret = scsi_device_set_state(sdev, SDEV_RUNNING); |
include/scsi/scsi_devinfo.h