On 00:47 Sun 07 Dec , Zhang Le wrote: > On 10:20 Sat 06 Dec , Ralf Baechle wrote: > > On Fri, Dec 05, 2008 at 11:43:42PM +0800, Zhang Le wrote: > > > Then I tried to read kernel code. I found it seems that for mips linux to have > > > this file, HAVE_PCI_MMAP must be defined. However, it is currently not defined. > > > > > > Since I am not familiar with PCI, yet. > > > So could someone please shed some light on this? > > > Why HAVE_PCI_MMAP is not defined? > > > > Here is a quick'n'dirty solution which I've not tested beyond just > > compiling. It should work but performance will be bad. Either way, I'm > > interested in a test report with X. Hi, Ralf, I have build a new kernel with this patch. Now I have the resource{0,1} file with permission 600. However, X is not working yet, since there is an undefined reference in sis's X driver. I will try to fix it and report back. Zhang, Le