summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2004-06-25 08:57:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2004-06-25 08:57:11 +0000
commitfa17bf1d80dcc74dedd99042457d147f1a4c6a7c (patch)
treebc15ab06fafebb6f7e40202b3bbd85dffdb3d974 /sys/dev/pci/pci.c
parentb931374cf34889aaeeb87e3d70dd7c41e3d593bf (diff)
Provide information about the raw (unswizzled) intrrupt pin in
pci_attach_args. drahn@ deraadt@ ok
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 7112fdc8f2d..b897f7b15e4 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci.c,v 1.33 2003/04/27 11:22:53 ho Exp $ */
+/* $OpenBSD: pci.c,v 1.34 2004/06/25 08:57:10 art Exp $ */
/* $NetBSD: pci.c,v 1.31 1997/06/06 23:48:04 thorpej Exp $ */
/*
@@ -261,6 +261,7 @@ pciattach(parent, self, aux)
}
#endif
pin = PCI_INTERRUPT_PIN(intr);
+ pa.pa_rawintrpin = pin;
if (pin == PCI_INTERRUPT_PIN_NONE) {
/* no interrupt */
pa.pa_intrpin = 0;