summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-06-01 08:26:36 +0000
committerdrahn <drahn@openbsd.org>2006-06-01 08:26:36 +0000
commit9c0c259b9b94d3f8f9b262eb9317ebf48148adc9 (patch)
treee72eae9455c7cdd1ff43b9e4502337fd0ef500b7
parentcurrent_ipl_level is a value, not a mask, do not '|=' into it. (diff)
downloadwireguard-openbsd-9c0c259b9b94d3f8f9b262eb9317ebf48148adc9.tar.xz
wireguard-openbsd-9c0c259b9b94d3f8f9b262eb9317ebf48148adc9.zip
Correct IRQ mappings for thecus devices.
-rw-r--r--sys/arch/armish/dev/iq80321_pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/armish/dev/iq80321_pci.c b/sys/arch/armish/dev/iq80321_pci.c
index bd568117195..f61b3ecc872 100644
--- a/sys/arch/armish/dev/iq80321_pci.c
+++ b/sys/arch/armish/dev/iq80321_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iq80321_pci.c,v 1.4 2006/06/01 03:44:53 drahn Exp $ */
+/* $OpenBSD: iq80321_pci.c,v 1.5 2006/06/01 08:26:36 drahn Exp $ */
/* $NetBSD: iq80321_pci.c,v 1.5 2005/12/11 12:17:09 christos Exp $ */
/*
@@ -85,13 +85,13 @@ struct board_id {
struct irq_map *iq80321_irq_map;
struct irq_map iq80321_thecus_irq_map[] = {
- { 1, 1, ICU_INT_XINT(2) }, /* thecus re0 29 ??? */
- { 2, 1, ICU_INT_XINT(2) }, /* thecus re1 29 ??? */
+ { 1, 1, ICU_INT_XINT(0) }, /* thecus re0 27 ??? */
+ { 2, 1, ICU_INT_XINT(3) }, /* thecus re1 30 */
{ 3, 1, ICU_INT_XINT(2) }, /* thecus sata 29 */
- { 4, 1, ICU_INT_XINT(2) }, /* thecus uhci0 29 ??? */
- { 4, 2, ICU_INT_XINT(2) }, /* thecus uhci1 29 ??? */
+ { 4, 1, ICU_INT_XINT(0) }, /* thecus uhci0 27 ??? */
+ { 4, 2, ICU_INT_XINT(0) }, /* thecus uhci1 27 */
{ 4, 3, ICU_INT_XINT(2) }, /* thecus ehci0 29 */
- { 5, 1, ICU_INT_XINT(2) }, /* thecus minipci slot */
+ { 5, 1, ICU_INT_XINT(3) }, /* thecus minipci slot */
{ 0, 0, 255}
};