RE: Serio keyboard issues 2.5.70

John Appleby (john@dnsworld.co.uk)
Wed, 4 Jun 2003 21:08:52 +0100


> > void serio_register_device(struct serio_dev *dev)
> > {
> > struct serio *serio;
> > list_add_tail(&dev->node, &serio_dev_list);
> > printk("serio: add_tail %08x\n",&dev->node);
> > list_for_each_entry(serio, &serio_list, node) {
> > printk("serio: register_device %08x\n",serio->dev);
> > if (!serio->dev && dev->connect) {
> > printk("serio: connecting...\n");
> > dev->connect(serio, dev);
> > }
> > }
> > }
>
> Well - I don't know the real reason, but the code is
> adding the device to the 'serio_dev_list', and the
> list iteration is going over the 'serio_list'...

Yeah, I think that's correct though. At least I've traced it for PS2
keyboards and it finds its way into it.

Regards,

John

-
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/