From: jakemsr Date: Tue, 3 Aug 2010 22:58:58 +0000 (+0000) Subject: if interrupt mapping fails, say so X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2a25c9c346c0ffc549a6fee2e11977fcc5e71cf3;p=openbsd if interrupt mapping fails, say so ok deraadt --- 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;