summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2006-12-11 19:47:37 +0000
committerkettenis <kettenis@openbsd.org>2006-12-11 19:47:37 +0000
commit85de8e564c28b1e912bd971f0349ffb887593d06 (patch)
tree701ca8718601f74aa292350b50fc2019dbac55da /sys/dev/pci/pci.c
parentdo not bus_space_map devices which are at address 0; ok kettenis (diff)
downloadwireguard-openbsd-85de8e564c28b1e912bd971f0349ffb887593d06.tar.xz
wireguard-openbsd-85de8e564c28b1e912bd971f0349ffb887593d06.zip
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