Okay take a look at
http://www.skynet.ie/~airlied/patches/dri/mtrr_removal.diff
This is how I intend dumping the __HAVE_ set of macros, I've just patched the radeon in this patch.. any objections to this approach any neater ways to do it?
That looks good. Having the bits explicitly tracked in the driver at run-time may help debugging in some cases. My only comment is a minor code style issue. I believe that GCC gives a warning for 'if ( foo & BAR )', so I usually use 'if ( (foo & BAR) != 0 )'. Using in-line functions (as suggested by Sam) may be even better.
In any case, thank you *very* much for tackling this with so much gusto! :) I'm sure this clean-up hasn't been the most exciting way to spend your coding time.
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel