Really? Too bad. So no way to set LEDs, no way to detect the keyboard,
no way to set it to "Scancode Set 3"?
We'll need to modify the atkbd driver then ...
> > +static void q40kbd_interrupt(int irq, void *dev_id, struct pt_regs *regs)
> > +{
> > + unsigned long flags;
> > +
> > + if (IRQ_KEYB_MASK & master_inb(INTERRUPT_REG))
> > + if (q40kbd_port.dev)
> > + q40kbd_port.dev->interrupt(&q40kbd_port, master_inb(KEYCODE_REG), 0);
> ^^^^^^^^^
> where is this defined?
include/linux/serio.h: struct serio_dev
> > +void __init q40kbd_init(void)
> > +{
> > + int maxread = 100;
> > +
> > + /* Get the keyboard controller registers (incomplete decode) */
> > + request_region(0x60, 16, "q40kbd");
> > +
> > + /* allocate the IRQ */
> > + request_irq(Q40_IRQ_KEYBOARD, keyboard_interrupt, 0, "q40kbd", NULL);
> ^^^^^^^^^^^^^^^^^^
> should that be q40kbd_interrupt ?
Yes, it should.
-- Vojtech Pavlik SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/