Thread (10 messages) 10 messages, 2 authors, 2007-05-17

Re: [PATCH 01/10] fbdev: Clean up of sparc FB options

From: David Miller <davem@davemloft.net>
Date: 2007-05-17 00:42:34

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: Thu, 17 May 2007 08:36:21 +0800
On Wed, 2007-05-16 at 17:15 -0700, David Miller wrote:
quoted
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.
struct fb_info already has struct device *device field.  Isn't that
sufficient enough?  Or if you must, just define a flag somewhere in
struct fb_info or struct par which the fb_get_primary_device() can
check.
Indeed, struct device is sufficient, I store the info I need
in the struct dev_archdata.

-------------------------------------------------------------------------
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help