On Sun, 24 Sep 2000 19:04:11 -0400 (EDT),
Adam <[EMAIL PROTECTED]> wrote:
> Looking at kernel sources it seems to me, that reset of
> keyboard would be
>
> outp(0x60,0xFF);
static void
kdb_kbdsend(unsigned char byte)
{
while (inb(KBD_STATUS_REG) & KBD_STAT_IBF)
;
outb(byte, KBD_DATA_REG);
}
static void
kdb_toggleled(int led)
{
static int leds = 0;
leds ^= led;
kdb_kbdsend(KBD_CMD_SET_LEDS);
kdb_kbdsend((unsigned char)leds);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/