Added initialization of Ethernet MAC address
diff --git a/contiki-c64/uip/lan91c96-drv.c b/contiki-c64/uip/lan91c96-drv.c
index b87f808..e13abf7 100644
--- a/contiki-c64/uip/lan91c96-drv.c
+++ b/contiki-c64/uip/lan91c96-drv.c
@@ -28,7 +28,7 @@
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: lan91c96-drv.c,v 1.5 2004/08/09 21:01:52 adamdunkels Exp $
+ * $Id: lan91c96-drv.c,v 1.6 2004/09/14 07:31:20 adamdunkels Exp $
*
*/
@@ -40,6 +40,9 @@
static void output(u8_t *hdr, u16_t hdrlen, u8_t *data, u16_t datalen);
+static const struct uip_eth_addr addr =
+ {{0x00,0x0d,0x60,0x80,0x3d,0xb9}};
+
static const struct packet_service_state state =
{
PACKET_SERVICE_VERSION,
@@ -69,6 +72,7 @@
{
switch(ev) {
case EK_EVENT_INIT:
+ uip_setethaddr(&addr);
lan91c96_init();
break;
case EK_EVENT_REQUEST_REPLACE: