2 Jan 2006 16:39
[RFC]: add sysfs support to parport_pc, v3
Jason Dravet <dravet <at> hotmail.com>
2006-01-02 15:39:50 GMT
2006-01-02 15:39:50 GMT
Here is a new patch to parport_pc that adds sysfs and thus udev support to parport_pc. I fixed my earilier problem of the kernel oops (I forgot the class_destory) and I can insmod and rmmod this module all day long with no side effects. I do have one question why do both lp and parport nodes have to be created? What do you think of this patch? What would be the next step to get this into the kernel? Thanks, Jason Dravet signed-off-by: Jason Dravet <dravet <at> hotmail.com> --- /usr/src/linux-2.6.14/drivers/parport/parport_pc.c.orig 2005-12-30 13:52:48.000000000 -0600 +++ /usr/src/linux-2.6.14/drivers/parport/parport_pc.c 2006-01-01 11:29:05.000000000 -0600 <at> <at> -14,6 +14,7 <at> <at> * More PCI support now conditional on CONFIG_PCI, 03/2001, Paul G. * Various hacks, Fred Barnes, 04/2001 * Updated probing logic - Adam Belay <ambx1 <at> neo.rr.com> + * Added sysfs and udev - Jason Dravet <dravet <at> hotmail.com> */ /* This driver should work with any hardware that is broadly compatible <at> <at> -55,6 +56,7 <at> <at> #include <linux/pci.h> #include <linux/pnp.h> #include <linux/sysctl.h>(Continue reading)

RSS Feed