diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-26 08:25:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-26 08:25:27 +0000 |
commit | d1cad4edb86a9a4bd70bb9eb232c21f9540bbb0d (patch) | |
tree | 593182dbbe2a1d616ef103a694e8f118185243fb /ports/ARM7-AT91SAM7X | |
parent | 49254d5eb3163415e19b6ef85b1be1205a9dd465 (diff) | |
download | ChibiOS-d1cad4edb86a9a4bd70bb9eb232c21f9540bbb0d.tar.gz ChibiOS-d1cad4edb86a9a4bd70bb9eb232c21f9540bbb0d.tar.bz2 ChibiOS-d1cad4edb86a9a4bd70bb9eb232c21f9540bbb0d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@306 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-AT91SAM7X')
-rw-r--r-- | ports/ARM7-AT91SAM7X/sam7x_emac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/ARM7-AT91SAM7X/sam7x_emac.c b/ports/ARM7-AT91SAM7X/sam7x_emac.c index e55c6fcd6..a1d1e1d0f 100644 --- a/ports/ARM7-AT91SAM7X/sam7x_emac.c +++ b/ports/ARM7-AT91SAM7X/sam7x_emac.c @@ -199,7 +199,8 @@ void InitEMAC(int prio) { AT91C_BASE_EMAC->EMAC_RSR = AT91C_EMAC_OVR |
AT91C_EMAC_REC |
AT91C_EMAC_BNA; // Clears RSR
- AT91C_BASE_EMAC->EMAC_NCFGR |= AT91C_EMAC_NBC |
+ AT91C_BASE_EMAC->EMAC_NCFGR |= AT91C_EMAC_CAF |
+ AT91C_EMAC_NBC |
AT91C_EMAC_DRFCS; // Initial NCFGR settings
AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_TE |
AT91C_EMAC_RE |
|