diff options
author | Tejun Heo <htejun@gmail.com> | 2006-03-24 06:07:50 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-24 15:28:33 +0100 |
commit | 5a529139554f12cb265715117a2153c936286294 (patch) | |
tree | a31f5aba2d34111e89d339c7d1a803d7a864bb46 /drivers/scsi/sata_sil.c | |
parent | [PATCH] libata: add per-dev pio/mwdma/udma_mask (diff) | |
download | linux-5a529139554f12cb265715117a2153c936286294.tar.xz linux-5a529139554f12cb265715117a2153c936286294.zip |
[PATCH] libata: make per-dev transfer mode limits per-dev
Now that each ata_device has xfer masks, per-dev limits can be made
per-dev instead of per-port. Make per-dev limits per-dev.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r-- | drivers/scsi/sata_sil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index 3e75d6733239..18c296c56899 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c @@ -371,7 +371,7 @@ static void sil_dev_config(struct ata_port *ap, struct ata_device *dev) if (quirks & SIL_QUIRK_UDMA5MAX) { printk(KERN_INFO "ata%u(%u): applying Maxtor errata fix %s\n", ap->id, dev->devno, model_num); - ap->udma_mask &= ATA_UDMA5; + dev->udma_mask &= ATA_UDMA5; return; } } |