This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
at91wdtc driver init
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Wed, 4 Feb 2009 18:19:09 GMT
- Subject: at91wdtc driver init
Drivers should now use CYG_INIT_INTERRUPTS priority when creating a
Cyg_Interrupt object.
Bart
2009-02-04 Bart Veer <bartv@ecoscentric.com>
* src/watchdog_at91wdtc.cxx: switch init priority to
CYG_INIT_INTERRUPTS.
Index: src/watchdog_at91wdtc.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/watchdog/arm/at91wdtc/current/src/watchdog_at91wdtc.cxx,v
retrieving revision 1.2
diff -u -p -r1.2 watchdog_at91wdtc.cxx
--- src/watchdog_at91wdtc.cxx 29 Jan 2009 17:48:49 -0000 1.2
+++ src/watchdog_at91wdtc.cxx 4 Feb 2009 18:17:41 -0000
@@ -117,7 +117,7 @@ isr(cyg_vector vector, CYG_ADDRWORD data
//==========================================================================
-static CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_DRIVERS)
+static CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_INTERRUPTS)
Cyg_Interrupt wdint(
CYGNUM_HAL_INTERRUPT_WDTC,
INT_PRIO,