summaryrefslogtreecommitdiffstats
path: root/drivers/block/piix.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
commit95db6b748fc86297827fbd9c9ef174d491c9ad89 (patch)
tree27a92a942821cde1edda9a1b088718d436b3efe4 /drivers/block/piix.c
parent45b27b0a0652331d104c953a5b192d843fff88f8 (diff)
Merge with Linux 2.3.40.
Diffstat (limited to 'drivers/block/piix.c')
-rw-r--r--drivers/block/piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/piix.c b/drivers/block/piix.c
index cb4cd8b46..b8ffb5a4b 100644
--- a/drivers/block/piix.c
+++ b/drivers/block/piix.c
@@ -200,7 +200,7 @@ static int piix_config_drive_for_dma (ide_drive_t *drive)
int u_speed;
byte maslave = hwif->channel ? 0x42 : 0x40;
- byte udma_66 = ((id->word93 & 0x2000) && (hwif->udma_four)) ? 1 : 0;
+ byte udma_66 = ((id->hw_config & 0x2000) && (hwif->udma_four)) ? 1 : 0;
int ultra = ((dev->device == PCI_DEVICE_ID_INTEL_82371AB) ||
(dev->device == PCI_DEVICE_ID_INTEL_82801AA_1)) ? 1 : 0;
int ultra66 = (dev->device == PCI_DEVICE_ID_INTEL_82801AB_1) ? 1 : 0;