Re: Use of 'reserved' fields in var_screeninfo
flat view
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2005-11-14 19:30:25
On Mon, 14 Nov 2005, Kevin Hilman wrote:
I've got a question about the purpose of the reserved fields in the
var_screeninfo struct:
struct fb_var_screeninfo {
[ ... ]
__u32 reserved[5]; /* Reserved for future compatibility */
};
What are these reserved for? Is it appropriate for drivers to use these forThey are reserved for future expansion.
additional, HW-specific values that are then made available to the VSCREENINFO ioctls?
Not really, only for generic info that's useful for multiple drivers.
What do you want to export there?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php