On Mon, Aug 6, 2012 at 5:13 PM, Paolo <paolopiace@xxxxxxxxx> wrote: > Bjorn Helgaas <bhelgaas <at> google.com> writes: >> >> The user command "lspci -x" is a good way to see raw config space. > > Sure, Thanks. But I need & want to do everything with the functions > pci_read_config_... > > They need the struct pci_dev whose pointer is returned by the BIOS (or Kernel?) > as parameter of the probe function in the struct pci_driver > > There must be a way to get access to each and every pci_dev without resorting to > the probe function. pci_get_device(). In arch/mn10300/unit-asb2305/pci-irq.c, pcibios_fixup_irqs() does something similar to what you're asking for. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html