- SCSI_LOG_SCAN_BUS(2, sdev_printk(KERN_INFO, sdev, "scsi scan:"
- " peripheral qualifier of 3, device not"
- " added\n"))
- if (lun == 0) {
- SCSI_LOG_SCAN_BUS(1, {
- unsigned char vend[9];
- unsigned char mod[17];
-
- sdev_printk(KERN_INFO, sdev,
- "scsi scan: consider passing scsi_mod."
- "dev_flags=%s:%s:0x240 or 0x800240\n",
- scsi_inq_str(vend, result, 8, 16),
- scsi_inq_str(mod, result, 16, 32));
- });
- }
-
- res = SCSI_SCAN_TARGET_PRESENT;
- goto out_free_result;
- }
-
- /*
- * Non-standard SCSI targets may set the PDT to 0x1f (unknown or
- * no device type) instead of using the Peripheral Qualifier to
- * indicate that no LUN is present. For example, USB UFI does this.
- */
- if (starget->pdt_1f_for_no_lun && (result[0] & 0x1f) == 0x1f) {