]> err.no Git - linux-2.6/blobdiff - drivers/scsi/libata-scsi.c
[SCSI] update spi transport class so that u320 Domain Validation works
[linux-2.6] / drivers / scsi / libata-scsi.c
index 4c96df060c3bad9af44ab4c4664d8cba38c63030..416ba67ba9ee37b1fa0b7cad9ca0bc431e973017 100644 (file)
@@ -347,7 +347,10 @@ int ata_scsi_slave_config(struct scsi_device *sdev)
                 */
                if ((dev->flags & ATA_DFLAG_LBA48) &&
                    ((dev->flags & ATA_DFLAG_LOCK_SECTORS) == 0)) {
-                       sdev->host->max_sectors = 2048;
+                       /*
+                        * do not overwrite sdev->host->max_sectors, since
+                        * other drives on this host may not support LBA48
+                        */
                        blk_queue_max_sectors(sdev->request_queue, 2048);
                }
        }