Re: [PATCH 01/10] fbdev: Clean up of sparc FB options
From: David Miller <davem@davemloft.net>
Date: 2007-05-17 00:15:23
From: "Antonino A. Daplas" <adaplas@gmail.com> Date: Thu, 17 May 2007 08:10:34 +0800
On Wed, 2007-05-16 at 17:05 -0700, David Miller wrote:quoted
From: "Antonino A. Daplas" <adaplas@gmail.com> Date: Thu, 17 May 2007 08:01:58 +0800quoted
The question is, will this work for sparc?It can't be just by type, we need to be able to able to select individual instances of the same kind of device. I can't tell if you're saying your scheme handles this or not :-))) I can have two ffb cards in my machine and I can tell fbcon precisely which of those ffb instances is the primary one. That's what I'd need to work.As long as each instance is defined by distinct struct fb_info's, it should work.
Excellent. The only missing piece for sparc is how do I get from an fb_info to the firmware node for that device. What we can do is add a "struct device_node *" or similar to fb_info. powerpc and all future openfirmware platforms will be able to make use of this as well. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/