/* Handler for the EMAC peripheral. See the documentation for this port on  */
void vEMAC_ISR_Handler(void)
/* Handler for the EMAC peripheral. See the documentation for this port on  */
void vEMAC_ISR_Handler(void)
{
	prvResetMAC();
	prvInitialiseDescriptors();
	ETHERC.MAHR = 	( ( unsigned long ) configMAC_ADDR0 << 24UL ) | 
					( ( unsigned long ) configMAC_ADDR1 << 16UL ) | 
					( ( unsigned long ) configMAC_ADDR2 << 8UL ) | 
					( unsigned long ) configMAC_ADDR3;
	ETHERC.MALR.BIT.MA = ( ( unsigned long ) configMAC_ADDR4 << 8UL ) |
						 ( unsigned long ) configMAC_ADDR5;
	prvConfigureEtherCAndEDMAC();
	uip_buf = NULL;
	phy_init();
}