diff packages/devs/eth/cl/cs8900a/current/src/if_cs8900a.c @ 2107:7a0284a514e9

* include/cs8900a.h: * src/if_cs8900a.c: Added a priority field in cpd that makes interrupt priority configurable
author asl
date Wed, 23 Nov 2005 21:26:50 +0000
parents 915ac9ca447f
children c4195ff791d2
line wrap: on
line diff
--- a/packages/devs/eth/cl/cs8900a/current/src/if_cs8900a.c
+++ b/packages/devs/eth/cl/cs8900a/current/src/if_cs8900a.c
@@ -181,7 +181,7 @@ cs8900a_init(struct cyg_netdevtab_entry 
 #ifdef CYGINT_IO_ETH_INT_SUPPORT_REQUIRED
     // Initialize environment, setup interrupt handler
     cyg_drv_interrupt_create(cpd->interrupt,
-                             0, // Priority - what goes here?
+                             cpd->priority,
                              (cyg_addrword_t)cpd, //  Data item passed to interrupt handler
                              (cyg_ISR_t *)cs8900a_isr,
                              (cyg_DSR_t *)cs8900a_dsr,