linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource files
From: Zhang Le <r0bertz@gentoo.org>
Date: Wed, 10 Dec 2008 01:22:46 +0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20081206164706.GB14327@adriano.hkcable.com.hk>
Mail-followup-to: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081205154339.GA14327@adriano.hkcable.com.hk> <20081206102030.GA9410@linux-mips.org> <20081206164706.GB14327@adriano.hkcable.com.hk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-09)
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

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