Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39018
b: refs/heads/master
c: 70d666d
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and Andi Kleen committed Oct 5, 2006
1 parent d36a9d6 commit c1285c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d8d2bedf6002bf40b07fc5989dd9dbe56609fe3e
refs/heads/master: 70d666d6ae9724c0a08434c20f8830c90a635bd3
8 changes: 4 additions & 4 deletions trunk/arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ static void calgary_watchdog(unsigned long data)

/* If no error, the agent ID in the CSR is not valid */
if (val32 & CSR_AGENT_MASK) {
printk(KERN_EMERG "calgary_watchdog: DMA error on bus %d, "
printk(KERN_EMERG "calgary_watchdog: DMA error on PHB %#x, "
"CSR = %#x\n", dev->bus->number, val32);
writel(0, target);

Expand Down Expand Up @@ -749,7 +749,7 @@ static void __init calgary_enable_translation(struct pci_dev *dev)
val32 = be32_to_cpu(readl(target));
val32 |= PHB_TCE_ENABLE | PHB_DAC_DISABLE | PHB_MCSR_ENABLE;

printk(KERN_INFO "Calgary: enabling translation on PHB %d\n", busnum);
printk(KERN_INFO "Calgary: enabling translation on PHB %#x\n", busnum);
printk(KERN_INFO "Calgary: errant DMAs will now be prevented on this "
"bus.\n");

Expand Down Expand Up @@ -779,7 +779,7 @@ static void __init calgary_disable_translation(struct pci_dev *dev)
val32 = be32_to_cpu(readl(target));
val32 &= ~(PHB_TCE_ENABLE | PHB_DAC_DISABLE | PHB_MCSR_ENABLE);

printk(KERN_INFO "Calgary: disabling translation on PHB %d!\n", busnum);
printk(KERN_INFO "Calgary: disabling translation on PHB %#x!\n", busnum);
writel(cpu_to_be32(val32), target);
readl(target); /* flush */

Expand Down Expand Up @@ -1064,7 +1064,7 @@ static int __init calgary_parse_options(char *p)

if (bridge < MAX_PHB_BUS_NUM) {
printk(KERN_INFO "Calgary: disabling "
"translation for PHB 0x%x\n", bridge);
"translation for PHB %#x\n", bridge);
bus_info[bridge].translation_disabled = 1;
}
}
Expand Down

0 comments on commit c1285c5

Please sign in to comment.