Thread (6 messages) flat view 6 messages, 2 authors, 2003-08-20

Re: [RFC] add class/video to fb drivers - Take 2

From: Greg KH <hidden>
Date: 2003-08-20 21:33:47
Also in: lkml

On Wed, Aug 20, 2003 at 10:28:28PM +0100, James Simmons wrote:
quoted
Well, it's not "ideal" but it will do for 2.6 to use this patch.  If you
look at the tty core, it's the same way that currently works.

Ideally in 2.7 I'd like to convert to have all fb drivers create the
fb_info structure dynamically, but that's much to big of a change to do
this late in the 2.6 development cycle.
What is the advantage of creating every fb_info dynamically?
Then we can add a struct class_device into fb_info, which will allow us
to export sysfs attributes for each fb_info device to userspace.  It
will provide the proper lifetime rules for such structures, and allow
the individual drivers a place within sysfs to export different things
they might want to export.  Any /proc files you currently have could
then be removed.

For an example of what needs to be done, see the recent v4l core changes
that were just introduced into the kernel tree.

Again, this is a 2.7 thing (which could easily be backported to 2.6.late
afterwards), nothing I want to attempt to do at this time.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help