summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-08-03 22:58:59 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-08-03 22:58:59 +0000
commit0548c55c565856c2a5e95bfa347aca80b5a72b31 (patch)
treea6e54a4dccf837fdd6f1ab85b8fd2550e11236aa /sys
parent4ee7ea4e7200a5142ce0869156bcd431de73ac24 (diff)
if interrupt mapping fails, say so
ok deraadt
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/auich.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c
index abbc9533477..dedaedb6885 100644
--- a/sys/dev/pci/auich.c
+++ b/sys/dev/pci/auich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auich.c,v 1.83 2010/07/15 03:43:11 jakemsr Exp $ */
+/* $OpenBSD: auich.c,v 1.84 2010/08/03 22:58:58 jakemsr Exp $ */
/*
* Copyright (c) 2000,2001 Michael Shalayeff
@@ -433,6 +433,7 @@ auich_attach(parent, self, aux)
sc->dmat = pa->pa_dmat;
if (pci_intr_map(pa, &ih)) {
+ printf(": can't map interrupt\n");
bus_space_unmap(sc->iot, sc->aud_ioh, aud_size);
bus_space_unmap(sc->iot_mix, sc->mix_ioh, mix_size);
return;