X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/8ed5907015b127d1312c13216a8e4875c962da8e..2768393fc00a378e42139872bf47fe02ea6f3751:/netwatch/smi.c diff --git a/netwatch/smi.c b/netwatch/smi.c index e551ac4..88570a6 100644 --- a/netwatch/smi.c +++ b/netwatch/smi.c @@ -74,14 +74,8 @@ extern void timer_handler(smi_event_t ev); extern void kbc_handler(smi_event_t ev); extern void gbl_rls_handler(smi_event_t ev); -void __firstrun_stub() { - - /* Try really hard to shut up USB_LEGKEY. */ - pci_write16(0, 31, 2, 0xC0, pci_read16(0, 31, 2, 0xC0)); - pci_write16(0, 31, 2, 0xC0, 0); - pci_write16(0, 31, 4, 0xC0, pci_read16(0, 31, 4, 0xC0)); - pci_write16(0, 31, 4, 0xC0, 0); - +void __firstrun_stub() +{ /* Turn on the SMIs we want */ smi_disable();