diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-01-09 22:23:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-01-09 22:23:01 +0000 |
commit | a0306b9a5e200182b17ce2e3c3095b2e9d2a9c2c (patch) | |
tree | 20259ed9c2f8040ae049a8550b05ebe2a0b7bec0 /sys/arch | |
parent | b418eed8a60166c1631703da0e459066a6b574a2 (diff) |
Make dec_xxx_intr_map() fail silently; caller will print a message if
appropriate. Removes unwanted messages that got printed when mapping pins
on PCI-PCI bridges that don't matter.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/pci/pci_1000.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/pci/pci_1000a.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/pci/pci_1000.c b/sys/arch/alpha/pci/pci_1000.c index b61b0c75c0e..f4d4ce1e48c 100644 --- a/sys/arch/alpha/pci/pci_1000.c +++ b/sys/arch/alpha/pci/pci_1000.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_1000.c,v 1.5 2006/06/15 20:08:29 brad Exp $ */ +/* $OpenBSD: pci_1000.c,v 1.6 2008/01/09 22:23:00 kettenis Exp $ */ /* $NetBSD: pci_1000.c,v 1.12 2001/07/27 00:25:20 thorpej Exp $ */ /* @@ -177,7 +177,7 @@ dec_1000_intr_map(ccv, bustag, buspin, line, ihp) return 0; } -bad: printf("dec_1000_intr_map: can't map dev %d pin %d\n", device, buspin); +bad: return 1; } diff --git a/sys/arch/alpha/pci/pci_1000a.c b/sys/arch/alpha/pci/pci_1000a.c index fb3cbd72d21..e62e1d5aad8 100644 --- a/sys/arch/alpha/pci/pci_1000a.c +++ b/sys/arch/alpha/pci/pci_1000a.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_1000a.c,v 1.5 2006/06/15 20:08:29 brad Exp $ */ +/* $OpenBSD: pci_1000a.c,v 1.6 2008/01/09 22:23:00 kettenis Exp $ */ /* $NetBSD: pci_1000a.c,v 1.14 2001/07/27 00:25:20 thorpej Exp $ */ /* @@ -197,7 +197,7 @@ dec_1000a_intr_map(ccv, bustag, buspin, line, ihp) return 0; } } -bad: printf("dec_1000a_intr_map: can't map dev %d pin %d\n", device, buspin); +bad: return 1; } |