Re: [patch 2.5] PCI: allow alternative methods for probing the BARs

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Jan 07 2003 - 07:33:41 EST


On Tue, 2003-01-07 at 00:13, Grant Grundler wrote:
> On Mon, Jan 06, 2003 at 03:19:09PM -0800, Linus Torvalds wrote:
> > In particular, we can make the first phase disable DMA on the devices we
> > find, which means that we know they won't be generating PCI traffic during
> > the second phase - so now the second phase (which does the BAR sizing) can
> > do sizing and be safe in the knowledge that there should be no random PCI
> > activity ongoing at the same time.
>
> Did you expect the PCI_COMMAND_MASTER disabled in the USB Controller
> or something else in the controller turned off?

There is another problem too. Some devices ignore the master bit disable.
VIA 8233/8235 being a fine example.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:35 EST