On 10/07/2012 09:48 AM, Rafał Miłecki wrote: > 2012/10/1 Hauke Mehrtens <hauke@xxxxxxxxxx>: >> @@ -396,6 +391,11 @@ void __devinit bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) >> >> bcma_info(bus, "PCIEcore in host mode found\n"); >> >> + if (bus->sprom.boardflags_lo & BCMA_CORE_PCI_BFL_NOPCI) { >> + bcma_info(bus, "This PCIE core is disabled and not working\n"); >> + return; >> + } >> + > > I wonder if this bit is also valid for client mode PCIe core. Maybe > this check should be put directly in bcma_core_pci_init? I put it into the host mode code, because I do not want to interfere with some wrongly programed client mode pcie devices. I have just seen a SoC with a PCIe device in hostmode where this option was set. I would have no problem with moving this into bcma_core_pci_init if someone with some cards could test it before. Hauke -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html