summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/dev/openpic.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-05-08 20:10:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-05-08 20:10:13 +0000
commit3bb6187c9b7df73ff33e2fd71503da5f714aa314 (patch)
tree1a3cb0644f4c7a1c6d1701505a20ff3d0f3ec9bd /sys/arch/mvmeppc/dev/openpic.c
parent127df57137697ff721a641a1527d9fd5ee7dc1bb (diff)
Correct values for the pci_routes[] pci-to-mpic interrupt routing table,
per the MVME2600APG.
Diffstat (limited to 'sys/arch/mvmeppc/dev/openpic.c')
-rw-r--r--sys/arch/mvmeppc/dev/openpic.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/mvmeppc/dev/openpic.c b/sys/arch/mvmeppc/dev/openpic.c
index 56aaa4e2fa3..4143f888390 100644
--- a/sys/arch/mvmeppc/dev/openpic.c
+++ b/sys/arch/mvmeppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.13 2004/02/01 22:30:42 miod Exp $ */
+/* $OpenBSD: openpic.c,v 1.14 2004/05/08 20:10:12 miod Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -125,14 +125,18 @@ struct cfdriver openpic_cd = {
NULL, "openpic", DV_DULL
};
+/*
+ * ISA IRQ for PCI IRQ to MPIC IRQ routing.
+ * From MVME2600APG tables 5.2 and 5.3
+ */
const struct pci_route {
int pci;
int openpic;
} pci_routes[] = {
{ 10, 2 },
- { 11, 4 },
+ { 11, 5 },
{ 14, 3 },
- { 15, 5 },
+ { 15, 4 },
{ 0, 0 }
};