summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-20 23:40:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-20 23:40:44 +0000
commitc256653f828f5665420bfa0957fc0e576928c4a7 (patch)
treeeef9d8cbef5dc9c48ba1718c87a738fd7159f70a /sys/dev
parent43fc0b4a39d56808ae80980b1735a1ac763fae08 (diff)
Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow the
logic to be chipset dependent; no functional change yet. ok kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pccbb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index a51a97a5e87..700148b5f56 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.64 2009/06/03 04:32:10 jsg Exp $ */
+/* $OpenBSD: pccbb.c,v 1.65 2009/07/20 23:40:43 miod Exp $ */
/* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */
/*
@@ -481,7 +481,7 @@ pccbbattach(struct device *parent, struct device *self, void *aux)
}
intrstr = pci_intr_string(pc, ih);
/* must do this after intr is mapped and established */
- sc->sc_intrline = pci_intr_line(ih);
+ sc->sc_intrline = pci_intr_line(pc, ih);
/*
* XXX pccbbintr should be called under the priority lower