From: Joshua Wise Date: Mon, 3 Nov 2008 07:37:46 +0000 (-0500) Subject: Add LWIP init call X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/9552cf466dc268051c10c792ec9127dac135c769?ds=sidebyside Add LWIP init call --- diff --git a/aseg/counter.c b/aseg/counter.c index 055ceec..ab200c1 100644 --- a/aseg/counter.c +++ b/aseg/counter.c @@ -93,6 +93,7 @@ void pci_dump() { dolog("Unhandled PCI cycle"); } + outl(0x840, 0x0); outl(0x844, 0x1000); outl(0x848, 0x1000); } diff --git a/net/net.c b/net/net.c index eac5d0e..7164746 100644 --- a/net/net.c +++ b/net/net.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "net.h" #include "../aseg/keyboard.h" @@ -124,4 +125,5 @@ void eth_init() /* Required for DMA to work. :( */ smram_tseg_set_state(SMRAM_TSEG_OPEN); pci_probe_driver(a3c90x_driver); + lwip_init(); }