summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-05-15 17:27:47 +0200
committerJeff Garzik <jeff@garzik.org>2006-05-15 17:27:47 +0200
commit8d4ee71ff6de5255ebfdf44fb83419d27bd06368 (patch)
treeae03881d6d86b528e075f7b6af8af74f4dbbf9ec /drivers/scsi/libata-scsi.c
parentMerge branch 'for-jeff' of git://htj.dyndns.org/libata-tj into tejun-merge (diff)
parentMerge branch 'upstream' into max-sect (diff)
downloadlinux-8d4ee71ff6de5255ebfdf44fb83419d27bd06368.tar.xz
linux-8d4ee71ff6de5255ebfdf44fb83419d27bd06368.zip
Merge branch 'max-sect' into upstream
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-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 996058af1bcd..f036ae4b8afb 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -670,7 +670,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;