diff options
Diffstat (limited to 'drivers/ide/pci/amd74xx.c')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index a91f2e873ba4..2b118f80fab6 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -129,9 +129,9 @@ static void __devinit amd7411_cable_detect(struct pci_dev *dev, | |||
129 | amd_80w = ((t & 0x3) ? 1 : 0) | ((t & 0xc) ? 2 : 0); | 129 | amd_80w = ((t & 0x3) ? 1 : 0) | ((t & 0xc) ? 2 : 0); |
130 | for (i = 24; i >= 0; i -= 8) | 130 | for (i = 24; i >= 0; i -= 8) |
131 | if (((u >> i) & 4) && !(amd_80w & (1 << (1 - (i >> 4))))) { | 131 | if (((u >> i) & 4) && !(amd_80w & (1 << (1 - (i >> 4))))) { |
132 | printk(KERN_WARNING "%s: BIOS didn't set cable bits " | 132 | printk(KERN_WARNING "%s %s: BIOS didn't set cable bits " |
133 | "correctly. Enabling workaround.\n", | 133 | "correctly. Enabling workaround.\n", |
134 | name); | 134 | name, pci_name(dev)); |
135 | amd_80w |= (1 << (1 - (i >> 4))); | 135 | amd_80w |= (1 << (1 - (i >> 4))); |
136 | } | 136 | } |
137 | } | 137 | } |
@@ -280,9 +280,8 @@ static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_ | |||
280 | d.udma_mask = ATA_UDMA5; | 280 | d.udma_mask = ATA_UDMA5; |
281 | } | 281 | } |
282 | 282 | ||
283 | printk(KERN_INFO "%s: %s (rev %02x) UDMA%s controller\n", | 283 | printk(KERN_INFO "%s %s: UDMA%s controller\n", |
284 | d.name, pci_name(dev), dev->revision, | 284 | d.name, pci_name(dev), amd_dma[fls(d.udma_mask) - 1]); |
285 | amd_dma[fls(d.udma_mask) - 1]); | ||
286 | 285 | ||
287 | /* | 286 | /* |
288 | * Determine the system bus clock. | 287 | * Determine the system bus clock. |