Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2006 16:15:03 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102006 for review
Message-ID:  <200607201615.k6KGF3Jx016797@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102006

Change 102006 by piso@piso_newluxor on 2006/07/20 16:15:01

	Axe INTR_FAST.

Affected files ...

.. //depot/projects/soc2006/intr_filter/arm/at91/at91_pio.c#5 edit
.. //depot/projects/soc2006/intr_filter/arm/at91/at91_rtc.c#4 edit
.. //depot/projects/soc2006/intr_filter/arm/at91/at91_st.c#4 edit
.. //depot/projects/soc2006/intr_filter/arm/sa11x0/sa11x0_ost.c#4 edit
.. //depot/projects/soc2006/intr_filter/arm/xscale/i80321/i80321_timer.c#4 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/arm/at91/at91_pio.c#5 (text) ====

@@ -148,8 +148,8 @@
 	 * Activate the interrupt, but disable all interrupts in the hardware
 	 */
 	WR4(sc, PIO_IDR, 0xffffffff);
-	err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_FAST,
-	    (driver_filter_t *)at91_pio_intr, NULL, sc, &sc->intrhand);
+	err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC,
+	    at91_pio_intr, NULL, sc, &sc->intrhand);
 	if (err) {
 		AT91_PIO_LOCK_DESTROY(sc);
 		goto out;

==== //depot/projects/soc2006/intr_filter/arm/at91/at91_rtc.c#4 (text) ====

@@ -110,8 +110,8 @@
 	 * Activate the interrupt, but disable all interrupts in the hardware
 	 */
 	WR4(sc, RTC_IDR, 0xffffffff);
-	err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_FAST,
-	    (driver_filter_t *)at91_rtc_intr, NULL, sc, &sc->intrhand);
+	err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC,
+	    at91_rtc_intr, NULL, sc, &sc->intrhand);
 	if (err) {
 		AT91_RTC_LOCK_DESTROY(sc);
 		goto out;

==== //depot/projects/soc2006/intr_filter/arm/at91/at91_st.c#4 (text) ====

@@ -178,8 +178,8 @@
 	if (!irq)
 		panic("Unable to allocate irq for the system timer");
 	else
-		bus_setup_intr(dev, irq, INTR_TYPE_CLK | INTR_FAST,
-		    (driver_filter_t *)clock_intr, NULL, NULL, &ih);
+		bus_setup_intr(dev, irq, INTR_TYPE_CLK,
+		    clock_intr, NULL, NULL, &ih);
 
 	WR4(ST_PIMR, rel_value);
 

==== //depot/projects/soc2006/intr_filter/arm/sa11x0/sa11x0_ost.c#4 (text+ko) ====

@@ -273,11 +273,11 @@
 	rid = 1;
 	irq2 = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
 	    RF_ACTIVE);
-	bus_setup_intr(dev, irq1, INTR_TYPE_CLK | INTR_FAST, 
-		       (driver_filter_t *)clockintr, NULL, NULL, &ih1);	    
+	bus_setup_intr(dev, irq1, INTR_TYPE_CLK, 
+		       clockintr, NULL, NULL, &ih1);	    
 #if 0
-	bus_setup_intr(dev, irq2, INTR_TYPE_CLK | INTR_FAST, 
-		       (driver_filter_t *)statintr, NULL, NULL, &ih2);		       
+	bus_setup_intr(dev, irq2, INTR_TYPE_CLK, 
+		       statintr, NULL, NULL, &ih2);		       
 #endif
 	bus_space_write_4(saost_sc->sc_iot, saost_sc->sc_ioh, SAOST_SR, 0xf);
 	bus_space_write_4(saost_sc->sc_iot, saost_sc->sc_ioh, SAOST_IR, 3);

==== //depot/projects/soc2006/intr_filter/arm/xscale/i80321/i80321_timer.c#4 (text+ko) ====

@@ -337,8 +337,8 @@
 	if (!irq)
 		panic("Unable to setup the clock irq handler.\n");
 	else
-		bus_setup_intr(dev, irq, INTR_TYPE_CLK | INTR_FAST, 
-		    (driver_filter_t *)clockhandler, NULL, NULL, &ihl);
+		bus_setup_intr(dev, irq, INTR_TYPE_CLK, 
+		    clockhandler, NULL, NULL, &ihl);
 	tmr0_write(0);			/* stop timer */
 	tisr_write(TISR_TMR0);		/* clear interrupt */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607201615.k6KGF3Jx016797>