From: asterix Date: Wed, 11 Jan 2012 14:40:25 +0000 (+0000) Subject: Decrease eth irq priority. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ee52abf7300bb120fa17966d581afe1938b2d0e8;p=bertos.git Decrease eth irq priority. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5246 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/drv/eth_at91.c b/bertos/cpu/arm/drv/eth_at91.c index 2b3aaca9..7e0e0f14 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 | 7; + AIC_SMR(EMAC_ID) = AIC_SRCTYPE_INT_EDGE_TRIGGERED | 6; /* Clear pending interrupt */ AIC_ICCR = BV(EMAC_ID); /* Enable the system IRQ */