]> Joshua Wise's Git repositories - netwatch.git/commitdiff
More ICH2-specific code diked out. master
authorJoshua Wise <joshua@escape.wv.cc.cmu.edu>
Mon, 12 Oct 2009 06:01:48 +0000 (02:01 -0400)
committerJoshua Wise <joshua@escape.wv.cc.cmu.edu>
Mon, 12 Oct 2009 06:01:48 +0000 (02:01 -0400)
netwatch/main.c

index 1e8c737d23bc0773413555ad2ad47c8062b13c39..14c8ab47158bd00ae53600aab76c245159a257a4 100644 (file)
@@ -48,7 +48,13 @@ void _try_inject()
                outb(0x60, kbd_get_injected_scancode());        /* data */
                while ((inb(0x64) & 0x02) && i--)       /* wait for completion */
                        ;
-               outl(0x844, 0x1000);
+               /* On some chipsets, this might set the "device active" bit
+                * for the keyboard controller.  On ICH2, we appear to get
+                * lucky, but we need a mechanism of saying "I just touched
+                * the keyboard, please don't send me another SMI because of
+                * this"... XXX
+                * ICH2: outl(0x844, 0x1000);
+                */
                adding_locks_from_time_to_time++;
                smi_enable_event(SMI_EVENT_DEVTRAP_KBC);
        } else if (kbd_has_injected_scancode())
This page took 0.030005 seconds and 4 git commands to generate.