summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-01-09 22:23:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-01-09 22:23:01 +0000
commita0306b9a5e200182b17ce2e3c3095b2e9d2a9c2c (patch)
tree20259ed9c2f8040ae049a8550b05ebe2a0b7bec0 /sys
parentb418eed8a60166c1631703da0e459066a6b574a2 (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')
-rw-r--r--sys/arch/alpha/pci/pci_1000.c4
-rw-r--r--sys/arch/alpha/pci/pci_1000a.c4
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;
}