mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:59:17 +08:00
if_atsam: Fix interrupt setup
The interrupt is enabled by rtems_interrupt_handler_install(). Update #4652.
This commit is contained in:
parent
5b62a8bfa1
commit
339ba3dd9f
@ -990,7 +990,6 @@ static void if_atsam_init(void *arg)
|
|||||||
}
|
}
|
||||||
/* Setup interrupts */
|
/* Setup interrupts */
|
||||||
NVIC_ClearPendingIRQ(GMAC_IRQn);
|
NVIC_ClearPendingIRQ(GMAC_IRQn);
|
||||||
NVIC_EnableIRQ(GMAC_IRQn);
|
|
||||||
|
|
||||||
/* Configuration of DMAC */
|
/* Configuration of DMAC */
|
||||||
dmac_cfg = (GMAC_DCFGR_DRBS(GMAC_RX_BUFFER_SIZE >> 6)) |
|
dmac_cfg = (GMAC_DCFGR_DRBS(GMAC_RX_BUFFER_SIZE >> 6)) |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user