On Fri, Dec 05, 2008 at 06:59:35PM +0100, Arnaud Patard wrote: Arnaud, > > 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? > > HAVE_PCI_MMAP must be defined when you have a pci_mmap_page_range() > function (see Documentation/filesystems/sysfs-pci.txt) and we don't have > a pci_mmap_page_range() on mips. Correct - but if the code is not present the kernel does not use an alternative implementation. I just looked into implementing that and it seems nothing that I could do quickly to still get it into 2.6.28, sorry ... Ralf