linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Serio keyboard issues 2.5.70
@ 2003-06-04 22:59 Perez-Gonzalez, Inaky
  2003-06-04 23:03 ` Russell King
  0 siblings, 1 reply; 8+ messages in thread
From: Perez-Gonzalez, Inaky @ 2003-06-04 22:59 UTC (permalink / raw)
  To: 'Russell King', 'John Appleby'
  Cc: 'John Appleby', 'linux-kernel@vger.kernel.org'

> From: Russell King [mailto:rmk@arm.linux.org.uk]
>
> - serio device drivers (the things which drive the hardware) using
>   serio_register_port()
> - serio protocol drivers (the things which interpret the bytes,
>   like atkbd.c) using serio_register_device()

Kind of counter-intuitive :] I guess renaming to something
that is more obvious is out of the question at this page of
the book, right? Not that it is a big deal, though...

Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <434747C01D5AC443809D5FC5405011310970EA@bobcat.unickz.com>]
[parent not found: <434747C01D5AC443809D5FC54050113109709D@bobcat.unickz.com>]
* RE: Serio keyboard issues 2.5.70
@ 2003-06-04 19:51 Perez-Gonzalez, Inaky
  0 siblings, 0 replies; 8+ messages in thread
From: Perez-Gonzalez, Inaky @ 2003-06-04 19:51 UTC (permalink / raw)
  To: 'John Appleby', 'lkml (linux-kernel@vger.kernel.org)'


> 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'...


Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <434747C01D5AC443809D5FC540501131097083@bobcat.unickz.com>]

end of thread, other threads:[~2003-06-04 22:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-04 22:59 Serio keyboard issues 2.5.70 Perez-Gonzalez, Inaky
2003-06-04 23:03 ` Russell King
     [not found] <434747C01D5AC443809D5FC5405011310970EA@bobcat.unickz.com>
2003-06-04 22:44 ` John Appleby
2003-06-04 22:47   ` Russell King
     [not found] <434747C01D5AC443809D5FC54050113109709D@bobcat.unickz.com>
2003-06-04 20:08 ` John Appleby
  -- strict thread matches above, loose matches on Subject: below --
2003-06-04 19:51 Perez-Gonzalez, Inaky
     [not found] <434747C01D5AC443809D5FC540501131097083@bobcat.unickz.com>
2003-06-04 19:23 ` John Appleby
2003-06-04 22:23   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).