All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysfs class patches - take 2 [0/5]
@ 2003-12-23 21:24 Greg KH
  2003-12-23 21:57 ` Jeff Garzik
  2003-12-23 22:07 ` Greg KH
  0 siblings, 2 replies; 8+ messages in thread
From: Greg KH @ 2003-12-23 21:24 UTC (permalink / raw)
  To: linux-hotplug

Here are the sysfs class patches reworked against a clean 2.6.0 tree.
I've created a class_simple.c file that contains a "simple" class device
interface.  I've then converted the tty core to use this interface (the
combo of these two patches makes for no extra code added).

Then there are 3 patches, adding class support for misc, mem, and vc
class devices.  As the interface to add simple class support for devices
is now so low, I feel that we do need to have mem class support as to
not special case any char device.

With these patches, it's now much easier for others to implement class
support for remaining char drivers/subsystems that do not have it yet.

Andrew, can you please remove the following 3 patches from your
2.6.0-mm1 tree:
	sysfs-mem-device-support.patch
	sysfs-misc-device-support.patch
	sysfs-vc-device-support.patch

and add these 5 patches instead?  The sysfs-oops-fix.patch needs to
stay.

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] sysfs class patches - take 2 [0/5]
@ 2003-12-23 21:24 Greg KH
  2003-12-23 21:57 ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2003-12-23 21:24 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-hotplug-devel

Here are the sysfs class patches reworked against a clean 2.6.0 tree.
I've created a class_simple.c file that contains a "simple" class device
interface.  I've then converted the tty core to use this interface (the
combo of these two patches makes for no extra code added).

Then there are 3 patches, adding class support for misc, mem, and vc
class devices.  As the interface to add simple class support for devices
is now so low, I feel that we do need to have mem class support as to
not special case any char device.

With these patches, it's now much easier for others to implement class
support for remaining char drivers/subsystems that do not have it yet.

Andrew, can you please remove the following 3 patches from your
2.6.0-mm1 tree:
	sysfs-mem-device-support.patch
	sysfs-misc-device-support.patch
	sysfs-vc-device-support.patch

and add these 5 patches instead?  The sysfs-oops-fix.patch needs to
stay.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-23 21:24 [PATCH] sysfs class patches - take 2 [0/5] Greg KH
@ 2003-12-23 21:57 ` Jeff Garzik
  2003-12-23 22:07 ` Greg KH
  1 sibling, 0 replies; 8+ messages in thread
From: Jeff Garzik @ 2003-12-23 21:57 UTC (permalink / raw)
  To: linux-hotplug

Interesting...  I bet that will be useful to the iPAQ folks (I've been 
wading through their patches lately), as they have created a couple 
ultra-simple classes for SoC devices and such.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-23 21:24 Greg KH
@ 2003-12-23 21:57 ` Jeff Garzik
  2003-12-23 22:07   ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2003-12-23 21:57 UTC (permalink / raw)
  To: Greg KH; +Cc: Andrew Morton, linux-kernel, linux-hotplug-devel

Interesting...  I bet that will be useful to the iPAQ folks (I've been 
wading through their patches lately), as they have created a couple 
ultra-simple classes for SoC devices and such.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-23 21:24 [PATCH] sysfs class patches - take 2 [0/5] Greg KH
  2003-12-23 21:57 ` Jeff Garzik
@ 2003-12-23 22:07 ` Greg KH
  1 sibling, 0 replies; 8+ messages in thread
From: Greg KH @ 2003-12-23 22:07 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Dec 23, 2003 at 04:57:56PM -0500, Jeff Garzik wrote:
> Interesting...  I bet that will be useful to the iPAQ folks (I've been 
> wading through their patches lately), as they have created a couple 
> ultra-simple classes for SoC devices and such.

I bet it will.  I've ported my old frame buffer patch to use it, and
it saved a lot of code.

Hm, I wonder if the frame buffer people ever intregrated that patch...

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-23 21:57 ` Jeff Garzik
@ 2003-12-23 22:07   ` Greg KH
  2003-12-24 14:27     ` Kronos
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2003-12-23 22:07 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Andrew Morton, linux-kernel, linux-hotplug-devel

On Tue, Dec 23, 2003 at 04:57:56PM -0500, Jeff Garzik wrote:
> Interesting...  I bet that will be useful to the iPAQ folks (I've been 
> wading through their patches lately), as they have created a couple 
> ultra-simple classes for SoC devices and such.

I bet it will.  I've ported my old frame buffer patch to use it, and
it saved a lot of code.

Hm, I wonder if the frame buffer people ever intregrated that patch...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-23 22:07   ` Greg KH
@ 2003-12-24 14:27     ` Kronos
  2003-12-24 16:45       ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Kronos @ 2003-12-24 14:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg KH

Greg KH <greg@kroah.com> ha scritto:
> > On Tue, Dec 23, 2003 at 04:57:56PM -0500, Jeff Garzik wrote:
> > Interesting...  I bet that will be useful to the iPAQ folks (I've been 
> > wading through their patches lately), as they have created a couple 
> > ultra-simple classes for SoC devices and such.
>
> I bet it will.  I've ported my old frame buffer patch to use it, and
> it saved a lot of code.
> 
> Hm, I wonder if the frame buffer people ever intregrated that patch...

I had a patch that add class_device to struct fb_info. This was 3-4 months ago. James merged some of them
and then disappeared...

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
E' stato a causa di una donna che ho cominciato a bere e non ho mai
avuto la cortesia di ringraziarla.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] sysfs class patches - take 2 [0/5]
  2003-12-24 14:27     ` Kronos
@ 2003-12-24 16:45       ` Greg KH
  0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2003-12-24 16:45 UTC (permalink / raw)
  To: Kronos; +Cc: linux-kernel

On Wed, Dec 24, 2003 at 03:27:17PM +0100, Kronos wrote:
> Greg KH <greg@kroah.com> ha scritto:
> > > On Tue, Dec 23, 2003 at 04:57:56PM -0500, Jeff Garzik wrote:
> > > Interesting...  I bet that will be useful to the iPAQ folks (I've been 
> > > wading through their patches lately), as they have created a couple 
> > > ultra-simple classes for SoC devices and such.
> >
> > I bet it will.  I've ported my old frame buffer patch to use it, and
> > it saved a lot of code.
> > 
> > Hm, I wonder if the frame buffer people ever intregrated that patch...
> 
> I had a patch that add class_device to struct fb_info. This was 3-4
> months ago.

So all of the frame buffer drivers have to be changed to dynamically
allocate the fb_info structure?  That's the "proper" way to do this, but
I felt it was a bit too late in the 2.6 development cycle to try to
intregrate such a large change in...

Oh well,

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-24 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 21:24 [PATCH] sysfs class patches - take 2 [0/5] Greg KH
2003-12-23 21:57 ` Jeff Garzik
2003-12-23 22:07 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2003-12-23 21:24 Greg KH
2003-12-23 21:57 ` Jeff Garzik
2003-12-23 22:07   ` Greg KH
2003-12-24 14:27     ` Kronos
2003-12-24 16:45       ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.