linux-mips
[Top] [All Lists]

Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource

To: Arnaud Patard <apatard@mandriva.com>
Subject: Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource files
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 5 Dec 2008 18:08:06 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <m3ljuumrjs.fsf@anduin.mandriva.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081205154339.GA14327@adriano.hkcable.com.hk> <m3ljuumrjs.fsf@anduin.mandriva.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>