Re: 2.5.5[01]]: Xircom Cardbus broken (PCI resource collisions)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Dec 13 2002 - 22:43:19 EST


On Fri, 2002-12-13 at 19:03, Jeff Garzik wrote:
> Dave Jones wrote:
> > It's my understanding that pci_enable_device() *must* be called
> > before we fiddle with dev->resource, dev->irq and the like.
>
>
> True and correct, but -- this particular case is inside the cardbus
> core, where it presumeably might have a better idea of when it is best
> to call pci_enable_device (or perhaps even not at all, and twiddle the
> bits itself).

We can use enable_device_bars() to skip the ROM but do the rest, then
fix the ROM up 8)

-
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 : Sun Dec 15 2002 - 22:00:30 EST