]> Joshua Wise's Git repositories - netwatch.git/blobdiff - netwatch/firstrun.c
Slightly permute the USB_LEGKEY stuff.
[netwatch.git] / netwatch / firstrun.c
index efa060030729d77130f18bf0659f5678c6e97c5e..e2a8f4b6a4546af0bd43245531706bd6de0d8bee 100644 (file)
@@ -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 <io.h>
 #include <smi.h>
 #include <pci.h>
@@ -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();
        
This page took 0.021582 seconds and 4 git commands to generate.