Egbert Eich writes: > And yes, I know the macros seem to be ugly. However they make writing > ioctl32 support for new drivers really easy as one doesn't have to > understand the macros.
Well, it's really the obfuscation rather than the ugliness which is the problem. I disagree that "one doesn't have to understand", that is a recipe for subtle bugs. > They also allow support of older kernels which don't use > compat_alloc_userspace(). Which would be only 2.4 kernels, even the 2.6.5-based SLES9 kernel has it. If you are using a 2.4 kernel you use an old DRM. Paul. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel