Subject: evbarm on Lubbock
To: None <port-arm@netbsd.org>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: port-arm
Date: 12/27/2007 19:46:28
Could someone with a Lubbock try out the following patch.

It fixes the build, but I don't have the hardware to test it out.

Robert Swindells

Index: obio.c
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/lubbock/obio.c,v
retrieving revision 1.6
diff -u -r1.6 obio.c
--- obio.c      11 Dec 2005 12:17:09 -0000      1.6
+++ obio.c      28 Dec 2007 01:36:24 -0000
@@ -134,7 +134,7 @@
                                    LUBBOCK_INTRMASK, mask);
 
                                /* handle it later */
-                               softintr_schedule(sc->sc_si);
+                               softint_schedule(sc->sc_si);
                        }
                }
 
@@ -277,7 +277,7 @@
 #endif
        sc->sc_ih = pxa2x0_gpio_intr_establish(0, IST_EDGE_FALLING, sc->sc_ipl,
            obio_intr, sc);
-       sc->sc_si = softintr_establish(IPL_SOFTNET, obio_softintr, sc);
+       sc->sc_si = softint_establish(SOFTINT_NET, obio_softintr, sc);
 
 
        /*
Index: sacc_obio.c
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/lubbock/sacc_obio.c,v
retrieving revision 1.6
diff -u -r1.6 sacc_obio.c
--- sacc_obio.c 18 Dec 2006 15:32:10 -0000      1.6
+++ sacc_obio.c 28 Dec 2007 01:36:24 -0000
@@ -199,7 +199,7 @@
                                  SACCIC_INTSTATCLR0, 1U<<i );
 
                for(ih = sc->sc_intrhand[i]; ih; ih = ih->ih_next)
-                       softintr_schedule(ih->ih_soft);
+                       softint_schedule(ih->ih_soft);
 
                intstat.lo &= ~(1U<<i);
        }
@@ -209,7 +209,7 @@
                                  SACCIC_INTSTATCLR1, 1U<<i);
 
                for(ih = sc->sc_intrhand[i + 32]; ih; ih = ih->ih_next)
-                       softintr_schedule(ih->ih_soft);
+                       softint_schedule(ih->ih_soft);
 
                intstat.hi &= ~(1U<<i);
        }