From 2a25c9c346c0ffc549a6fee2e11977fcc5e71cf3 Mon Sep 17 00:00:00 2001 From: jakemsr Date: Tue, 3 Aug 2010 22:58:58 +0000 Subject: [PATCH] if interrupt mapping fails, say so ok deraadt --- sys/dev/pci/auich.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1