Messages in this thread | | | Date | Mon, 6 Jan 2003 11:29:36 +1100 | From | Anton Blanchard <> | Subject | Re: [patch 2.5] PCI: allow alternative methods for probing the BARs |
| |
> Hopefully this patch should solve most problems with probing the BARs. > The changes are quite minimal as everything still is done in one pass. > - Added another level of fixups (PCI_FIXUP_EARLY), called with only > device/vendor IDs and class code filled in, before sizing the BARs. > - pci_read_bases won't probe the BAR if the respective resource has > non-zero flags. > > This allows to implement numerous alternative probing methods for > particular architecture/device/BAR. Some of possible variants: > get information from firmware and don't touch the BAR at all;
This sounds useful on ppc64 where firmware does a good job of setting up the BARs.
Anton - 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/
| |