From: Pavel Pisa Date: Sun, 2 Nov 2014 16:30:20 +0000 (+0100) Subject: RTEMS: QEMU provides ETHERNET HW address so there is no need to setup it in application. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/7dcf7d630a7a7115fa0215ccdbd825e9736ef03a RTEMS: QEMU provides ETHERNET HW address so there is no need to setup it in application. Signed-off-by: Pavel Pisa --- diff --git a/orte/examples/rtems-shell/networkconfig-i386-qemu.h b/orte/examples/rtems-shell/networkconfig-i386-qemu.h index 519b639..3b23a6a 100644 --- a/orte/examples/rtems-shell/networkconfig-i386-qemu.h +++ b/orte/examples/rtems-shell/networkconfig-i386-qemu.h @@ -5,8 +5,6 @@ #include #include -static char ethernet_address[6] = {0x00, 0x04, 0x9F, 0x00, 0x27, 0x50 }; - #ifdef RTEMS_USE_LOOPBACK int rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig *, int); @@ -36,7 +34,7 @@ static struct rtems_bsdnet_ifconfig netdriver_config = { #endif /*RTEMS_USE_LOOPBACK*/ .ip_address = "192.168.3.66", .ip_netmask = "255.255.255.0", - .hardware_address = ethernet_address, + .hardware_address = NULL, .ignore_broadcast = 0, .mtu = 0, .rbuf_count = 0,