Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 10:15:59 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Coleman Kane <cokane@cokane.org>
Cc:        obrien@FreeBSD.org
Subject:   Re: [PATCH] Updated quirk-driven R3000Z patches
Message-ID:  <200502181015.59593.jhb@FreeBSD.org>
In-Reply-To: <20050216140808.GF99724@ramen>
References:  <200502141722.10259.jhb@FreeBSD.org> <200502161256.34505.jkim@niksun.com> <20050216140808.GF99724@ramen>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 16 February 2005 09:08 am, Coleman Kane wrote:
> Yeah the recipient of the fix just emailed me about this, I am guessing
> that the #if 0 is the uncommitable part. Is there any way that this can
> be done by the kernel (the PCI reg write, that is)? Is there any reason
> that it can't be done there?

The kernel PCI code should do it.  NetBSD does it I think.  Basically, we need 
to assign bus numbers to PCI busses that don't already have one.  Warner Losh 
(imp@) has talked about this before.  Doing it correctly might be a bit 
tricky.

> On Wed, Feb 16, 2005 at 12:56:34PM -0500, Jung-uk Kim wrote, and it was 
proclaimed:
> > On Wednesday 16 February 2005 12:45 pm, David O'Brien wrote:
> > > On Wed, Feb 16, 2005 at 01:47:31PM +0000, Coleman Kane wrote:
> > > > Also, there is another patch missing. The following allows you to
> > > > use PCCARD devices to work. I found this email:
> > > > http://lists.freebsd.org/mailman/htdig/freebsd-amd64/2005-January
> > > >/003365.html
> > > >
> > > > Which has the problem detailed. Without this, the IO ranges
> > > > attached to the PCCARD devices asre screwed up, and thus you
> > > > cannot use them.
> > >
> > > But this patch has nothing to do with the ATPIC issue (that I can
> > > see). So it should be left out of jhb's patch.  Also that patch
> > > isn't in a committable form.  Can someone make it in a commitable
> > > form and I'll commit it.
> >
> > All you need is the second hunk, which is commitable, I believe.  The
> > first hunk has to be fixed from BIOS or manually corrected by:
> >
> > pciconf -w -b pci0:10:0 0x1a 0x0a
> >
> > Jung-uk Kim

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502181015.59593.jhb>