From 9552cf466dc268051c10c792ec9127dac135c769 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Mon, 3 Nov 2008 02:37:46 -0500 Subject: [PATCH] Add LWIP init call --- aseg/counter.c | 1 + net/net.c | 2 ++ 2 files changed, 3 insertions(+) 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(); } -- 2.43.0