From 0a303c62afa0da29b47714321eed9086cff157bf Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 21 Aug 2016 15:00:21 +0200 Subject: [PATCH] enable the support for the E1000 and RTL8192 --- hermit/kernel/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hermit/kernel/main.c b/hermit/kernel/main.c index 792ac2765..1ad7a2d28 100644 --- a/hermit/kernel/main.c +++ b/hermit/kernel/main.c @@ -208,14 +208,12 @@ static int init_netifs(void) IP4_ADDR(&ipaddr, 0,0,0,0); IP4_ADDR(&netmask, 0,0,0,0); -#if 0 /* Note: Our drivers guarantee that the input function will be called in the context of the tcpip thread. * => Therefore, we are able to use ethernet_input instead of tcpip_input */ if ((err = netifapi_netif_add(&default_netif, &ipaddr, &netmask, &gw, NULL, rtl8139if_init, ethernet_input)) == ERR_OK) goto success; if ((err = netifapi_netif_add(&default_netif, &ipaddr, &netmask, &gw, NULL, e1000if_init, ethernet_input)) == ERR_OK) goto success; -#endif kprintf("Unable to add the network interface: err = %d\n", err);