pci-rt3883.c (e9331ee9b164d58b4dd0abc882ba7e23d2f404b3) pci-rt3883.c (19a8d6b7604df85402deecae01d7861cb1d40c89)
1/*
2 * Ralink RT3662/RT3883 SoC PCI support
3 *
4 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * Parts of this file are based on Ralink's 2.6.21 BSP
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 550 unchanged lines hidden (view full) ---

559
560err_put_hb_node:
561 of_node_put(rpc->pci_controller.of_node);
562err_put_intc_node:
563 of_node_put(rpc->intc_of_node);
564 return err;
565}
566
1/*
2 * Ralink RT3662/RT3883 SoC PCI support
3 *
4 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * Parts of this file are based on Ralink's 2.6.21 BSP
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 550 unchanged lines hidden (view full) ---

559
560err_put_hb_node:
561 of_node_put(rpc->pci_controller.of_node);
562err_put_intc_node:
563 of_node_put(rpc->intc_of_node);
564 return err;
565}
566
567int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
567int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
568{
569 return of_irq_parse_and_map_pci(dev, slot, pin);
570}
571
572int pcibios_plat_dev_init(struct pci_dev *dev)
573{
574 return 0;
575}

--- 20 unchanged lines hidden ---
568{
569 return of_irq_parse_and_map_pci(dev, slot, pin);
570}
571
572int pcibios_plat_dev_init(struct pci_dev *dev)
573{
574 return 0;
575}

--- 20 unchanged lines hidden ---