···347347 */348348 if ((dev->flags & ATA_DFLAG_LBA48) &&349349 ((dev->flags & ATA_DFLAG_LOCK_SECTORS) == 0)) {350350- sdev->host->max_sectors = 2048;350350+ /*351351+ * do not overwrite sdev->host->max_sectors, since352352+ * other drives on this host may not support LBA48353353+ */351354 blk_queue_max_sectors(sdev->request_queue, 2048);352355 }353356 }
+1-1
drivers/scsi/sata_svw.c
···395395396396 /* Clear a magic bit in SCR1 according to Darwin, those help397397 * some funky seagate drives (though so far, those were already398398- * set by the firmware on the machines I had access to398398+ * set by the firmware on the machines I had access to)399399 */400400 writel(readl(mmio_base + K2_SATA_SICR1_OFFSET) & ~0x00040000,401401 mmio_base + K2_SATA_SICR1_OFFSET);