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

Alan Cox (alan@lxorguk.ukuu.org.uk)
14 Dec 2002 03:43:19 +0000


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/