mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
Merge branch 'pci/controller/iproc-bcma'
- Restore .map_irq() assignment that broke INTx on the iproc platform bus driver (Mark Tomlinson) * pci/controller/iproc-bcma: PCI: iproc: Restore .map_irq() for the platform bus driver
This commit is contained in:
commit
d04ef0d3b4
|
|
@ -64,7 +64,7 @@ static int iproc_bcma_pcie_probe(struct bcma_device *bdev)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
pcie->map_irq = iproc_bcma_pcie_map_irq;
|
||||
bridge->map_irq = iproc_bcma_pcie_map_irq;
|
||||
|
||||
bcma_set_drvdata(bdev, pcie);
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ static int iproc_pltfm_pcie_probe(struct platform_device *pdev)
|
|||
switch (pcie->type) {
|
||||
case IPROC_PCIE_PAXC:
|
||||
case IPROC_PCIE_PAXC_V2:
|
||||
pcie->map_irq = NULL;
|
||||
bridge->map_irq = NULL;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1502,7 +1502,6 @@ int iproc_pcie_setup(struct iproc_pcie *pcie, struct list_head *res)
|
|||
|
||||
host->ops = &iproc_pcie_ops;
|
||||
host->sysdata = pcie;
|
||||
host->map_irq = pcie->map_irq;
|
||||
|
||||
ret = pci_host_probe(host);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ struct iproc_msi;
|
|||
* @base_addr: PCIe host controller register base physical address
|
||||
* @mem: host bridge memory window resource
|
||||
* @phy: optional PHY device that controls the Serdes
|
||||
* @map_irq: function callback to map interrupts
|
||||
* @ep_is_internal: indicates an internal emulated endpoint device is connected
|
||||
* @iproc_cfg_read: indicates the iProc config read function should be used
|
||||
* @rej_unconfig_pf: indicates the root complex needs to detect and reject
|
||||
|
|
@ -91,7 +90,6 @@ struct iproc_pcie {
|
|||
phys_addr_t base_addr;
|
||||
struct resource mem;
|
||||
struct phy *phy;
|
||||
int (*map_irq)(const struct pci_dev *, u8, u8);
|
||||
bool ep_is_internal;
|
||||
bool iproc_cfg_read;
|
||||
bool rej_unconfig_pf;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user