aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_via.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-02-12 23:32:59 +0900
committerJeff Garzik <jgarzik@pobox.com>2006-02-12 14:36:30 -0500
commitb00eec1d58ee71131375bfeb86e64bceec3f5618 (patch)
tree03536ad3ecc61d42da0611f40a51fedcd44192b5 /drivers/scsi/sata_via.c
parent6e7846e9c548443c86cfbad9e4defb4bdcfc538b (diff)
downloadkernel_samsung_smdk4412-b00eec1d58ee71131375bfeb86e64bceec3f5618.zip
kernel_samsung_smdk4412-b00eec1d58ee71131375bfeb86e64bceec3f5618.tar.gz
kernel_samsung_smdk4412-b00eec1d58ee71131375bfeb86e64bceec3f5618.tar.bz2
[PATCH] libata: add per-device max_sectors
If a low level driver wants to control max_sectors, it had to adjust ap->host->max_sectors and set ATA_DFLAG_LOCK_SECTORS to tell ata_scsi_slave_config not to override the limit. This is not only cumbersome but also incorrect for hosts which support more than one devices per port. This patch adds per-device ->max_sectors. If the field is unset (zero), libata core layer will adjust ->max_sectors according to default rules. If the field is set, libata honors the setting. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_via.c')
0 files changed, 0 insertions, 0 deletions