linux.cf

Thomas Winischhofer thomas at winischhofer.net
Wed Jan 19 09:55:47 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I am in the process of adding a new card driver to the repository. This
driver is for Linux only, and only for little-endian machines.

What would I add to linux.cf? I thought of something in the lines of

#ifdef __LITTLE_ENDIAN__
#define XF86LECardDrivers sisusb
#else
#define XF86LECardDrivers /**/
#endif

and modify the existing XF86OSCardDrivers so it says

#define XF86OSCardDrivers fbdev v4l XF86LECardDrivers

Can I rely on __LITTLE_ENDIAN__ being #define'd?

Is is ok in general?

Thomas

- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net	       *** http://www.winischhofer.net
twini AT xfree86 DOT org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB7p8jzydIRAktyUcRAsqRAKCqEa1MTl9G0Pyzt8Od6iVyXZz16wCgr3ZF
Cj4JQ3ooI1rPZUVe5GiSMog=
=FMfE
-----END PGP SIGNATURE-----



More information about the xorg mailing list