.. | .. |
---|
1129 | 1129 | * that no LUN is present, so don't add sdev in these cases. |
---|
1130 | 1130 | * Two specific examples are: |
---|
1131 | 1131 | * 1) NetApp targets: return PQ=1, PDT=0x1f |
---|
1132 | | - * 2) IBM/2145 targets: return PQ=1, PDT=0 |
---|
1133 | | - * 3) USB UFI: returns PDT=0x1f, with the PQ bits being "reserved" |
---|
| 1132 | + * 2) USB UFI: returns PDT=0x1f, with the PQ bits being "reserved" |
---|
1134 | 1133 | * in the UFI 1.0 spec (we cannot rely on reserved bits). |
---|
1135 | 1134 | * |
---|
1136 | 1135 | * References: |
---|
.. | .. |
---|
1144 | 1143 | * PDT=00h Direct-access device (floppy) |
---|
1145 | 1144 | * PDT=1Fh none (no FDD connected to the requested logical unit) |
---|
1146 | 1145 | */ |
---|
1147 | | - if (((result[0] >> 5) == 1 || |
---|
1148 | | - (starget->pdt_1f_for_no_lun && (result[0] & 0x1f) == 0x1f)) && |
---|
| 1146 | + if (((result[0] >> 5) == 1 || starget->pdt_1f_for_no_lun) && |
---|
| 1147 | + (result[0] & 0x1f) == 0x1f && |
---|
1149 | 1148 | !scsi_is_wlun(lun)) { |
---|
1150 | 1149 | SCSI_LOG_SCAN_BUS(3, sdev_printk(KERN_INFO, sdev, |
---|
1151 | 1150 | "scsi scan: peripheral device type" |
---|