You need to register:
- 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()
So, for a PS/2 keyboard connected to a some special hardware interface,
you'd use atkbd.c which registers itself with serio using
serio_register_device(). Your device driver for the "special hardware"
registers itself with serio_register_port().
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- 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/