Re: [PATCH 2.6] Class support for ppdev.c

From: Greg KH
Date: Mon Apr 12 2004 - 13:57:49 EST


On Sun, Apr 11, 2004 at 10:25:53AM +0200, Marcel Sebek wrote:
> On Sat, Apr 10, 2004 at 09:28:59PM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > On Sat, Apr 10, 2004 at 09:46:01PM +0200, Marcel Sebek wrote:
> > > And new updated patch. partport_find_number() needs to decrement refcount
> > > by parport_put_port().
> >
> > And it's still broken. New parports can appear at any point - hell, we even
> > have USB->parport converters. IOW, if you want to do something useful here -
> > use ->attach()/->detach() of parport_driver.
> >
> Ok. Here's new one. It uses attach()/detach() callbacks for creating
> udev and devfs files.

Looks much better, thanks. But please don't modify the current devfs
usage, those users will generally not like that. Can you redo this
patch to only add the sysfs changes?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/