/*\r
- FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.\r
+ FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
\r
This file is part of the FreeRTOS.org distribution.\r
\r
#define uipIP_ADDR0 172\r
#define uipIP_ADDR1 25\r
#define uipIP_ADDR2 218\r
-#define uipIP_ADDR3 9 \r
+#define uipIP_ADDR3 10 \r
\r
/* How long to wait before attempting to connect the MAC again. */\r
#define uipINIT_WAIT 100\r
portBASE_TYPE i;\r
uip_ipaddr_t xIPAddr;\r
struct timer periodic_timer, arp_timer;\r
-extern void ( vEMAC_ISR )( void );\r
+extern void ( vEMAC_ISR_Wrapper )( void );\r
\r
/* Create the semaphore used by the ISR to wake this task. */\r
vSemaphoreCreateBinary( xEMACSemaphore );\r
{\r
IntEnable = INT_RX_DONE;\r
VICIntEnable |= 0x00200000;\r
- VICVectAddr21 = ( portLONG ) vEMAC_ISR;\r
+ VICVectAddr21 = ( portLONG ) vEMAC_ISR_Wrapper;\r
prvSetMACAddress();\r
}\r
portEXIT_CRITICAL();\r
\r
/* Copy the header into the Tx buffer. */\r
CopyToFrame_EMAC( uip_buf, uipTOTAL_FRAME_HEADER_SIZE );\r
-\r
- /* If there is room, also copy in the application data if any. */\r
- if( ( uip_len > uipTOTAL_FRAME_HEADER_SIZE ) && ( uip_len <= ( ETH_FRAG_SIZE - uipTOTAL_FRAME_HEADER_SIZE - 1 ) ) )\r
+ if( uip_len > uipTOTAL_FRAME_HEADER_SIZE )\r
{\r
CopyToFrame_EMAC( uip_appdata, ( uip_len - uipTOTAL_FRAME_HEADER_SIZE ) );\r
}\r