Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/eth/ns/dp83902a/current/ChangeLog,v retrieving revision 1.11 diff -u -r1.11 ChangeLog --- ChangeLog 12 Aug 2004 13:01:17 -0000 1.11 +++ ChangeLog 17 Aug 2007 16:57:33 -0000 @@ -1,3 +1,8 @@ +2007-08-17 Hans Rosenfeld + + * src/if_dp83902a.c, include/dp83902a.h: HW-specific code can + define CYGNUM_DEVS_ETH_NS_DP83902A_PRIO to set interrupt priority. + 2004-08-12 Jani Monoses * src/if_dp83902a.c: Fix builing with lwip. Index: include/dp83902a.h =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/eth/ns/dp83902a/current/include/dp83902a.h,v retrieving revision 1.5 diff -u -r1.5 dp83902a.h --- include/dp83902a.h 23 May 2002 23:00:46 -0000 1.5 +++ include/dp83902a.h 17 Aug 2007 16:57:34 -0000 @@ -185,6 +185,10 @@ // ------------------------------------------------------------------------ // Macros allowing platform to customize some of the driver details +#ifndef CYGNUM_DEVS_ETH_NS_DP83902A_PRIO +# define CYGNUM_DEVS_ETH_NS_DP83902A_PRIO 0 +#endif + #ifndef CYGHWR_NS_DP83902A_PLF_RESET # define CYGHWR_NS_DP83902A_PLF_RESET(_b_) do { } while (0) #endif Index: src/if_dp83902a.c =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/eth/ns/dp83902a/current/src/if_dp83902a.c,v retrieving revision 1.10 diff -u -r1.10 if_dp83902a.c --- src/if_dp83902a.c 12 Aug 2004 13:01:17 -0000 1.10 +++ src/if_dp83902a.c 17 Aug 2007 16:57:34 -0000 @@ -178,7 +178,7 @@ #ifdef CYGINT_IO_ETH_INT_SUPPORT_REQUIRED cyg_drv_interrupt_create( dp->interrupt, - 0, // Priority - unused + CYGNUM_DEVS_ETH_NS_DP83902A_PRIO, (cyg_addrword_t)dp,// Data item passed to ISR & DSR dp83902a_isr, // ISR dp83902a_dsr, // DSR