summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-05 09:18:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-11 16:05:26 +0200
commit339ba3dd9f10947de976621603874bb47841ce2e (patch)
tree1df836f8bcb2a452802159c5496fc1be20ec556e
parentif_atsam: Do not disable the Ethernet CRC (diff)
downloadrtems-libbsd-339ba3dd9f10947de976621603874bb47841ce2e.tar.bz2
if_atsam: Fix interrupt setup
The interrupt is enabled by rtems_interrupt_handler_install(). Update #4652.
-rw-r--r--rtemsbsd/sys/dev/atsam/if_atsam.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rtemsbsd/sys/dev/atsam/if_atsam.c b/rtemsbsd/sys/dev/atsam/if_atsam.c
index 4ac38e96..51be38cb 100644
--- a/rtemsbsd/sys/dev/atsam/if_atsam.c
+++ b/rtemsbsd/sys/dev/atsam/if_atsam.c
@@ -990,7 +990,6 @@ static void if_atsam_init(void *arg)
}
/* Setup interrupts */
NVIC_ClearPendingIRQ(GMAC_IRQn);
- NVIC_EnableIRQ(GMAC_IRQn);
/* Configuration of DMAC */
dmac_cfg = (GMAC_DCFGR_DRBS(GMAC_RX_BUFFER_SIZE >> 6)) |