X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/5d41c77c6fd2433c8c52d3f611716d6920017215..3b3161a197d32df3f889809e88bfe3b407b80148:/aseg/firstrun.c diff --git a/aseg/firstrun.c b/aseg/firstrun.c index e0e2904..d45bc81 100644 --- a/aseg/firstrun.c +++ b/aseg/firstrun.c @@ -2,8 +2,10 @@ #include #include #include +#include #include "vga-overlay.h" #include +#include "3c905.h" extern int _bss, _bssend; @@ -21,7 +23,7 @@ void __firstrun_start() { for (bp = (void *)&_bss; (void *)bp < (void *)&_bssend; bp++) *bp = 0; - dologf("NetWatch running"); + outputf("NetWatch running"); /* Try really hard to shut up USB_LEGKEY. */ pci_write16(0, 31, 2, 0xC0, pci_read16(0, 31, 2, 0xC0)); @@ -32,6 +34,8 @@ void __firstrun_start() { /* Turn on the SMIs we want */ smi_disable(); + eth_init(); + smi_register_handler(SMI_EVENT_FAST_TIMER, timer_handler); smi_enable_event(SMI_EVENT_FAST_TIMER);