summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-12-11 19:47:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-12-11 19:47:38 +0000
commit784057872389af433017dcdacadd1e9a82c701d6 (patch)
treeddf09be0489246a3e0274d6d1b17381fd7029c8b /sys/dev/pci/pci.c
parentcf8c382c7360f5cca81208b17363bcea5f55a4b7 (diff)
On i386, swizzle interrupts for devices for which we don't have explicit
inetrrupt routing information. ok deraadt@
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 8483da534db..143952ea170 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci.c,v 1.47 2006/10/04 19:27:44 kettenis Exp $ */
+/* $OpenBSD: pci.c,v 1.48 2006/12/11 19:47:37 kettenis Exp $ */
/* $NetBSD: pci.c,v 1.31 1997/06/06 23:48:04 thorpej Exp $ */
/*
@@ -271,6 +271,7 @@ pci_probe_device(struct pci_softc *sc, pcitag_t tag,
pa.pa_tag = tag;
pa.pa_id = id;
pa.pa_class = class;
+ pa.pa_bridgetag = sc->sc_bridgetag;
/* This is a simplification of the NetBSD code.
We don't support turning off I/O or memory