summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-06-30 04:02:53 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-06-30 04:02:53 +0000
commit9a8f6f942ec726d2fd2e723f4616a113b924767e (patch)
treee653082fd9d6cd0b1c16c42e1ba34a9bde4f23f4 /sys/arch/sparc64/dev
parent3dcbb02329e11228e1ad9d13e7c4e3b5291bb20c (diff)
found this when working on something else...
ok fgsch@
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/pci_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c
index f77530f81fb..cc7f5128cfb 100644
--- a/sys/arch/sparc64/dev/pci_machdep.c
+++ b/sys/arch/sparc64/dev/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.15 2004/12/02 02:41:02 brad Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.16 2005/06/30 04:02:52 marco Exp $ */
/* $NetBSD: pci_machdep.c,v 1.22 2001/07/20 00:07:13 eeh Exp $ */
/*
@@ -418,6 +418,7 @@ pci_intr_map(pa, ihp)
if (OF_mapintr(node, &interrupts, sizeof(interrupts),
sizeof(interrupts)) < 0) {
printf("OF_mapintr failed\n");
+ return (ENODEV);
}
/* Try to find an IPL for this type of device. */
if (OF_getprop(node, "device_type", &devtype, sizeof(devtype)) > 0) {