diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-26 20:53:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-26 20:53:52 +0000 |
commit | f21afaffd83d42ff644ba2fcb0c662c64f2840d4 (patch) | |
tree | 7ff5d419d128c14ef61d7cd65ae670085fc73c08 /sys | |
parent | 7fc22c124bc51e81b150468d1267a685e86ba0bb (diff) |
Hack to get the right interrupt pin for the onboard vge(4) on the RB600.
I'll fix this properly when we use the device tree to configure the pci bus.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/socppc/dev/socpcic.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/socpcic.c b/sys/arch/socppc/dev/socpcic.c index 0806e160f84..6207b6143c6 100644 --- a/sys/arch/socppc/dev/socpcic.c +++ b/sys/arch/socppc/dev/socpcic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: socpcic.c,v 1.5 2009/08/25 20:50:15 kettenis Exp $ */ +/* $OpenBSD: socpcic.c,v 1.6 2009/08/26 20:53:51 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -214,7 +214,11 @@ int socpcic_intr_map(void *cpv, pcitag_t tag, int pin, int line, pci_intr_handle_t *ihp) { +#ifdef RB600 + *ihp = 21; /* XXX */ +#else *ihp = 20; /* XXX */ +#endif return (0); } |