- * XXX Save the PQ field let the upper layers figure out if they
- * want to attach or not to this device, do not set online FALSE;
- * otherwise, offline devices still get an sd allocated, and they
- * use up an sd slot.
- */
- if (((inq_result[0] >> 5) & 7) == 1) {
- SCSI_LOG_SCAN_BUS(3, printk(KERN_INFO "scsi scan: peripheral"
- " qualifier of 1, device offlined\n"));
- scsi_device_set_state(sdev, SDEV_OFFLINE);
- }
+ * Don't set the device offline here; rather let the upper
+ * level drivers eval the PQ to decide whether they should
+ * attach. So remove ((inq_result[0] >> 5) & 7) == 1 check.
+ */