Commit d03bd4dd authored by jdelange's avatar jdelange

* drivers/po_hi_driver_leon_eth.c

   - Latest changes to have a driver working with RTEMS 4.11



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3946 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 946839d2
......@@ -66,8 +66,11 @@ __po_hi_device_id leon_eth_device_id;
#include <bsp.h>
#include <rtems/rtems_bsdnet.h>
#ifdef RTEMS48
extern void rtems_bsdnet_loopattach();
#else
extern void rtems_bsdnet_initialize_loop();
#endif
static struct rtems_bsdnet_ifconfig loopback_config = {
"lo0", /* name */
......@@ -88,11 +91,14 @@ static struct rtems_bsdnet_ifconfig loopback_config = {
static struct rtems_bsdnet_ifconfig netdriver_config = {
RTEMS_BSP_NETWORK_DRIVER_NAME, /* name */
RTEMS_BSP_NETWORK_DRIVER_ATTACH, /* attach function */
0, /* link to next interface */
/*
#ifdef RTEMS48
loopback_config,
#else
0, /* link to next interface */
0,
#endif
*/
"255.255.255.255", /* IP address */
"255.255.255.255", /* IP net mask */
NULL, /* Driver supplies hardware address */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment