X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/33e49b2e6d599bc56326841b5b373b9f76adc5f7..41506fc5c8cf80c1f1891e1d77f372b9bf5a9ba3:/netwatch/firstrun.c diff --git a/netwatch/firstrun.c b/netwatch/firstrun.c index efa0600..e2a8f4b 100644 --- a/netwatch/firstrun.c +++ b/netwatch/firstrun.c @@ -1,3 +1,13 @@ +/* firstrun.c + * First-run handler + * NetWatch system management mode administration console + * + * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. + * This program is free software; you can redistribute and/or modify it under + * the terms found in the file LICENSE in the root of this source tree. + * + */ + #include #include #include @@ -26,12 +36,6 @@ void smi_init() { outputf("NetWatch running"); - /* 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); - /* Turn on the SMIs we want */ smi_disable();