Date: Wed, 14 Dec 2005 18:23:13 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 88183 for review Message-ID: <200512141823.jBEINDpV082429@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=88183 Change 88183 by imp@imp_Speedy on 2005/12/14 18:22:43 Better panic message, allocate the interrupt shareable (but I just realized I didn't check to see if the ISR can cope). Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91rm92timer.c#3 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91rm92timer.c#3 (text+ko) ==== @@ -136,9 +136,10 @@ bus_space_write_4(timer_softc->sc_st, timer_softc->sc_sh, TIMER_IDR, 0xffffffff); /* The system timer shares the system irq (1) */ - irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 1, 1, 1, RF_ACTIVE); + irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 1, 1, 1, + RF_ACTIVE | RF_SHAREABLE); if (!irq) - panic("Unable to all irq for the system timer"); + panic("Unable to allocate irq for the system timer"); else bus_setup_intr(dev, irq, INTR_TYPE_CLK | INTR_FAST, clock_intr, NULL, &ih);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512141823.jBEINDpV082429>