diff options
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 21965e5ef25e..b22ee5462318 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -347,10 +347,8 @@ static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const ch | |||
347 | break; | 347 | break; |
348 | 348 | ||
349 | case AMD_UDMA_66: | 349 | case AMD_UDMA_66: |
350 | pci_read_config_dword(dev, AMD_UDMA_TIMING, &u); | 350 | /* no host side cable detection */ |
351 | for (i = 24; i >= 0; i -= 8) | 351 | amd_80w = 0x03; |
352 | if ((u >> i) & 4) | ||
353 | amd_80w |= (1 << (1 - (i >> 4))); | ||
354 | break; | 352 | break; |
355 | } | 353 | } |
356 | 354 | ||
@@ -386,8 +384,6 @@ static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const ch | |||
386 | if (amd_clock < 20000 || amd_clock > 50000) { | 384 | if (amd_clock < 20000 || amd_clock > 50000) { |
387 | printk(KERN_WARNING "%s: User given PCI clock speed impossible (%d), using 33 MHz instead.\n", | 385 | printk(KERN_WARNING "%s: User given PCI clock speed impossible (%d), using 33 MHz instead.\n", |
388 | amd_chipset->name, amd_clock); | 386 | amd_chipset->name, amd_clock); |
389 | printk(KERN_WARNING "%s: Use ide0=ata66 if you want to assume 80-wire cable\n", | ||
390 | amd_chipset->name); | ||
391 | amd_clock = 33333; | 387 | amd_clock = 33333; |
392 | } | 388 | } |
393 | 389 | ||