aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-03 07:49:09 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-10-10 13:46:00 -0400
commitdfa0415bcbc606bd20c63d3119ed00839280690a (patch)
treea139a5427a6b7d839bb10fd2d965c67b6e6ae80c /drivers/bcma
parent9f55c6201354183345fa06c6986668d159b6507f (diff)
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>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/host_pci.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
index a355e63a3838..a1caf9c5b132 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -188,8 +188,11 @@ static int bcma_host_pci_probe(struct pci_dev *dev,
188 pci_write_config_dword(dev, 0x40, val & 0xffff00ff); 188 pci_write_config_dword(dev, 0x40, val & 0xffff00ff);
189 189
190 /* SSB needed additional powering up, do we have any AMBA PCI cards? */ 190 /* SSB needed additional powering up, do we have any AMBA PCI cards? */
191 if (!pci_is_pcie(dev)) 191 if (!pci_is_pcie(dev)) {
192 bcma_err(bus, "PCI card detected, report problems.\n"); 192 bcma_err(bus, "PCI card detected, they are not supported.\n");
193 err = -ENXIO;
194 goto err_pci_release_regions;
195 }
193 196
194 /* Map MMIO */ 197 /* Map MMIO */
195 err = -ENOMEM; 198 err = -ENOMEM;