lkml.org 
[lkml]   [2000]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fb.h cleanup
On Tue Jan 11, 2000 at 08:24:28AM +0100, Geert Uytterhoeven wrote:
> On Mon, 10 Jan 2000, Erik Andersen wrote:
> > On Mon Jan 10, 2000 at 09:55:32AM +0100, Geert Uytterhoeven wrote:
> > > On Sun, 9 Jan 2000, James A Simmons wrote:
> > > > Please test this patch. It's against a pre-2.3.39-2. Once you are happy
> > > > with it Geert can you send it to linus. Thank you.
> > >
> > > > -#define FBIOGET_VSCREENINFO 0x4600
> > > > +#define FBIOGET_VSCREENINFO _IOWR(FB_IOC_MAGIC, 0, struct fb_var_screeninfo)
> > >
> > > Are these backwards compatible on all platforms?
> >
> > Does it matter? From user space you already have to do a
> >
> > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
> > foo
> > #else
> > bar
> > #endif
> >
> > since things like struct fb_var_screeninfo already
> > had its internals changed.
>
> No you don't. All changes until now were backwards compatible.
>

Not this one.

In 2.0.x:
struct fb_var_screeninfo {
...
int accel; /* see FB_ACCEL_* */
...
}
In 2.2.x:
struct fb_var_screeninfo {
...
__u32 accel_flags; /* acceleration flags (hints) */
...
}
-Erik

--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans