From 420647bebd5d1b7686ea44ff8c364a8cf6a60d13 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 20 Jun 2011 19:08:04 +0200 Subject: [PATCH] ... --- drivers/net/mmnif.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 252459d8..217d0803 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -814,7 +814,7 @@ err_t mmnif_init(struct netif* netif) static int num = 0; uint16_t speed = 4000; - DEBUGPRINTF("BBBBBBBB INIT BBBBBBB"); + DEBUGPRINTF("MEIN CODE IST NICHT SCHULDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"); /* Alloc and clear memory for the device struct */ @@ -1187,9 +1187,6 @@ int mmnif_open() #else mmnif_dev = kmalloc(sizeof(struct netif)); #endif - - DEBUGPRINTF("CDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDc"); - /* register our Memory Mapped Virtual IP interface in the lwip stack * and tell him how to use the interface: * - mmnif_dev : the device data storage @@ -1207,6 +1204,8 @@ int mmnif_open() return -1; } + DEBUGPRINTF("HIER KOMM ICH NICHT AN!!!!"); + /* set our network interface to the default interface for lwip*/ netif_set_default(mmnif_dev); /* tell lwip all initialization is done and we want to set it ab*/