if_atsam: Fix interrupt setup

The interrupt is enabled by rtems_interrupt_handler_install().

Update #4652.
This commit is contained in:
Sebastian Huber 2022-05-05 09:18:10 +02:00
parent 5b62a8bfa1
commit 339ba3dd9f

View File

@ -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)) |