[PATCH] Updated quirk-driven R3000Z patches

John Baldwin jhb at FreeBSD.org
Fri Feb 18 13:33:15 PST 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-amd64 mailing list