On 13 April 2011 23:19, RafaÅ MiÅecki <zajec5@xxxxxxxxx> wrote: > 2011/4/13 George Kashperko <george@xxxxxxxxxxx>: >>> I had no idea what you were referring to. We do not dig into PCIe >>> functions yet, so I believe for now we need this "if". >> You are already deep inside. Your host code drives pci function. > > But I don't use multiple PCIe functions, do not focus on that at all. I think what George meant is the following (please correct me if I understood you wrong) and has nothing to do with PCIe functions: <http://lxr.free-electrons.com/source/drivers/staging/brcm80211/util/aiutils.c#L522> The chipcommon and PCIe core registers seem to be always available on PCIe and no core switching is necessary for them. So as long as you only access the core registers of chipcommon, PCIe + one other core, you never need to do any switching (except for the initial switch to the other core) But If you need to access the agent registers you do have to do adapt the PCIe windows. (This seems to apply also to PCI cards with a PCI core revision >= 13, but this is probably only relevant for SSB - unless Arend says there are/were also PCI cards with AMBA AXI backplanes ;-). Jonas _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel