cvs commit: src/sys/dev/pci pci_pci.c

Bernd Walter ticso at cicely12.cicely.de
Fri Feb 18 22:53:09 GMT 2005


On Fri, Feb 18, 2005 at 03:35:09PM -0700, Warner Losh wrote:
> From: Bernd Walter <ticso at cicely12.cicely.de>
> Subject: Re: cvs commit: src/sys/dev/pci pci_pci.c
> Date: Fri, 18 Feb 2005 22:46:55 +0100
> 
> > On Fri, Feb 18, 2005 at 05:35:03PM +0000, Warner Losh wrote:
> > > imp         2005-02-18 17:35:03 UTC
> > > 
> > >   FreeBSD src repository
> > > 
> > >   Modified files:
> > >     sys/dev/pci          pci_pci.c 
> > >   Log:
> > >   For the I/O port case, we need to set ok to 1 if we have what looks
> > >   like a valid range.  We already do this in the memory case (although
> > >   the code there is somewhat different than the I/o case because we have
> > >   to deal with different kinds of memory).  Since most laptops don't
> > >   have non-subtractive bridges, this wasn't seen in practice.
> > 
> > Does that mean we do check ranges on pci bridges?
> 
> Yes.  And we have been for a long time.

Great :-)

> > I can remember having troubles with alpha systems where io ranges in
> > PCI chips behind PCI-PCI bridges looked valid by themself, but in fact
> > no IO range is configured on bridges.
> 
> Yes.  And we've been dealing with the newer subtractively decoded
> bridges for a long time as well too :-)
> 
> long time == since before 5.3 :-)

I think it was much more than a year ago.
Just wanted to check up if it's worth testing again.
Unfortunately I just removed the bridged cards from the test box.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de



More information about the cvs-src mailing list