linux.cf

Egbert Eich eich at suse.de
Fri Jan 21 08:23:29 PST 2005


Thomas Winischhofer writes:
 > -----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?
 > 

Under Linux? I would think so.

Cheers,
	Egbert.



More information about the xorg mailing list