Driver Patch
Hi,
I tried to compile the drivers from scratch and succeeded. I was mainly exchanging
change_page_attr(..., PAGE_KERNEL_NOCACHE);
with
set_pages_uc(...);
and
change_page_attr(..., PAGE_KERNEL)
with
set_pages_wb(...);
Furthermore I commented out all global_flush_tlb function calls, which I found was also done in a patch to get the fglrx driver to get compiled with recent kernel versions. I still don't know if this is a good thing to do or if one has to find a replacement for this. In pci.c the .nopage function pointer has to be changed to .fault but also the underlying function has to be changed accordingly I guess.
However, although I could compile it I could not manage to get the driver loaded without returning a sementation fault.
Did you succeed in building a driver for your platform?
Regards
Clemens
|