You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
bcma: reject PCI cards in bcma.
bcma currently only supports PCIe cards and no PCI cards, reject them if we find them. I have never heard of any PCI card using the AI bus (bcma), all of them are using ssb instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
9f55c62013
commit
dfa0415bcb
@@ -188,8 +188,11 @@ static int bcma_host_pci_probe(struct pci_dev *dev,
|
|||||||
pci_write_config_dword(dev, 0x40, val & 0xffff00ff);
|
pci_write_config_dword(dev, 0x40, val & 0xffff00ff);
|
||||||
|
|
||||||
/* SSB needed additional powering up, do we have any AMBA PCI cards? */
|
/* SSB needed additional powering up, do we have any AMBA PCI cards? */
|
||||||
if (!pci_is_pcie(dev))
|
if (!pci_is_pcie(dev)) {
|
||||||
bcma_err(bus, "PCI card detected, report problems.\n");
|
bcma_err(bus, "PCI card detected, they are not supported.\n");
|
||||||
|
err = -ENXIO;
|
||||||
|
goto err_pci_release_regions;
|
||||||
|
}
|
||||||
|
|
||||||
/* Map MMIO */
|
/* Map MMIO */
|
||||||
err = -ENOMEM;
|
err = -ENOMEM;
|
||||||
|
|||||||
Reference in New Issue
Block a user