summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-02-15 08:24:49 +0100
committerJeff Garzik <jeff@garzik.org>2006-03-22 13:47:42 +0100
commit200d5a7684cc49ef4be40e832daf3f217e70dfbb (patch)
tree44f51433004ed93a750342c3216bdda1c864b1fc /drivers
parentMerge branch 'master' (diff)
downloadlinux-200d5a7684cc49ef4be40e832daf3f217e70dfbb.tar.xz
linux-200d5a7684cc49ef4be40e832daf3f217e70dfbb.zip
[PATCH] libata: increase LBA48 max sectors to 65535
max_hw_sectors/max_sectors separation patch made into the tree, increase max_sectors to its hardware limit. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/libata-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index dd954a23b357..b53ef494a206 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -678,7 +678,7 @@ static void ata_scsi_dev_config(struct scsi_device *sdev,
*/
max_sectors = ATA_MAX_SECTORS;
if (dev->flags & ATA_DFLAG_LBA48)
- max_sectors = 2048;
+ max_sectors = ATA_MAX_SECTORS_LBA48;
if (dev->max_sectors)
max_sectors = dev->max_sectors;