Re: [RFC/PATCH 2/4] pci: Remove users of pci_enable_device_bars()

Alan Cox
2007-12-18T00:15:42Z

On Tue, 18 Dec 2007 10:01:14 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> This patch converts users of pci_enable_device_bars() to the new
> pci_enable_device_{io,mem} interface.
>
> The new API fits nicely, except maybe for the QLA case where a bit of
> code re-organization might be a good idea but I prefer sticking to the
> simple patch as I don't have hardware to test on.
>
> I'll also need some feedback on the cs5520 change

5520 in fact is always enabled as it is the host bridge.
pci_enable_device_io will do just fine. The 5520 fun is if you disable it
the system hangs.