aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-01-05 13:59:49 -0500
committerJeff Garzik <jgarzik@redhat.com>2011-01-07 22:33:34 -0500
commitfc2698d5ec7e96ba2c94a942329cfa4c5d6085f7 (patch)
tree5e431f1ad8a8971797f207ac6e86f1286f57d41d /drivers/ata
parentb197f13b53681c606e59d7d9a8a1d2d54fd363fe (diff)
pata_hpt37x: actually limit HPT370 to UltraDMA/66
The driver clearly tries to limit HPT370[A] to UltraDMA/66 if the PCI clock is less than 50 MHz but due to cut&paste type mistake this code has no effect... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_hpt37x.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c
index 9e2c98449055..efdd18bc8663 100644
--- a/drivers/ata/pata_hpt37x.c
+++ b/drivers/ata/pata_hpt37x.c
@@ -24,7 +24,7 @@
24#include <linux/libata.h> 24#include <linux/libata.h>
25 25
26#define DRV_NAME "pata_hpt37x" 26#define DRV_NAME "pata_hpt37x"
27#define DRV_VERSION "0.6.17" 27#define DRV_VERSION "0.6.18"
28 28
29struct hpt_clock { 29struct hpt_clock {
30 u8 xfer_speed; 30 u8 xfer_speed;
@@ -771,20 +771,20 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id)
771 .udma_mask = ATA_UDMA5, 771 .udma_mask = ATA_UDMA5,
772 .port_ops = &hpt370a_port_ops 772 .port_ops = &hpt370a_port_ops
773 }; 773 };
774 /* HPT370 - UDMA100 */ 774 /* HPT370 - UDMA66 */
775 static const struct ata_port_info info_hpt370_33 = { 775 static const struct ata_port_info info_hpt370_33 = {
776 .flags = ATA_FLAG_SLAVE_POSS, 776 .flags = ATA_FLAG_SLAVE_POSS,
777 .pio_mask = ATA_PIO4, 777 .pio_mask = ATA_PIO4,
778 .mwdma_mask = ATA_MWDMA2, 778 .mwdma_mask = ATA_MWDMA2,
779 .udma_mask = ATA_UDMA5, 779 .udma_mask = ATA_UDMA4,
780 .port_ops = &hpt370_port_ops 780 .port_ops = &hpt370_port_ops
781 }; 781 };
782 /* HPT370A - UDMA100 */ 782 /* HPT370A - UDMA66 */
783 static const struct ata_port_info info_hpt370a_33 = { 783 static const struct ata_port_info info_hpt370a_33 = {
784 .flags = ATA_FLAG_SLAVE_POSS, 784 .flags = ATA_FLAG_SLAVE_POSS,
785 .pio_mask = ATA_PIO4, 785 .pio_mask = ATA_PIO4,
786 .mwdma_mask = ATA_MWDMA2, 786 .mwdma_mask = ATA_MWDMA2,
787 .udma_mask = ATA_UDMA5, 787 .udma_mask = ATA_UDMA4,
788 .port_ops = &hpt370a_port_ops 788 .port_ops = &hpt370a_port_ops
789 }; 789 };
790 /* HPT372 - UDMA133 */ 790 /* HPT372 - UDMA133 */