projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increase ethernet irq priority.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
eth_at91.c
diff --git
a/bertos/cpu/arm/drv/eth_at91.c
b/bertos/cpu/arm/drv/eth_at91.c
index 72d2a250169483070e831de748a4fbf6c16752c6..2b3aaca9ea8fa69634d70eb413affef880516a2c 100644
(file)
--- a/
bertos/cpu/arm/drv/eth_at91.c
+++ b/
bertos/cpu/arm/drv/eth_at91.c
@@
-486,7
+486,7
@@
int eth_init()
/* Set the vector. */
AIC_SVR(EMAC_ID) = emac_irqHandler;
/* Initialize to edge triggered with defined priority. */
/* Set the vector. */
AIC_SVR(EMAC_ID) = emac_irqHandler;
/* Initialize to edge triggered with defined priority. */
- AIC_SMR(EMAC_ID) = AIC_SRCTYPE_INT_EDGE_TRIGGERED;
+ AIC_SMR(EMAC_ID) = AIC_SRCTYPE_INT_EDGE_TRIGGERED
| 7
;
/* Clear pending interrupt */
AIC_ICCR = BV(EMAC_ID);
/* Enable the system IRQ */
/* Clear pending interrupt */
AIC_ICCR = BV(EMAC_ID);
/* Enable the system IRQ */