From 467c15ccac52e429d92bd2b6928a959fd0da96a8 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 11 Jan 2012 14:40:17 +0000 Subject: [PATCH] Increase ethernet irq priority. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5240 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/eth_at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/cpu/arm/drv/eth_at91.c b/bertos/cpu/arm/drv/eth_at91.c index 72d2a250..2b3aaca9 100644 --- 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. */ - 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 */ -- 2.25.1