Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24473
b: refs/heads/master
c: 9edc91d
h: refs/heads/master
i:
  24471: 4aa963d
v: v3
  • Loading branch information
Rene Herman authored and Linus Torvalds committed Mar 28, 2006
1 parent c483da9 commit 3171637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5b95ff010d0a4e40f877277f8f0e62fcd83b5a8
refs/heads/master: 9edc91df07a227dbde9f98ee1097f554130993dc
8 changes: 2 additions & 6 deletions trunk/drivers/ide/pci/amd74xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,8 @@ static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const ch
break;

case AMD_UDMA_66:
pci_read_config_dword(dev, AMD_UDMA_TIMING, &u);
for (i = 24; i >= 0; i -= 8)
if ((u >> i) & 4)
amd_80w |= (1 << (1 - (i >> 4)));
/* no host side cable detection */
amd_80w = 0x03;
break;
}

Expand Down Expand Up @@ -386,8 +384,6 @@ static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const ch
if (amd_clock < 20000 || amd_clock > 50000) {
printk(KERN_WARNING "%s: User given PCI clock speed impossible (%d), using 33 MHz instead.\n",
amd_chipset->name, amd_clock);
printk(KERN_WARNING "%s: Use ide0=ata66 if you want to assume 80-wire cable\n",
amd_chipset->name);
amd_clock = 33333;
}

Expand Down

0 comments on commit 3171637

Please sign in to comment.