pci-versatile.c (669cbc708122fc7a02282058a09f096200cee090) pci-versatile.c (b64aa11eb2ddb0600361178286d7b7ed5a069fd8)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright 2004 Koninklijke Philips Electronics NV
4 *
5 * Conversion to platform driver and DT:
6 * Copyright 2014 Linaro Ltd.
7 *
8 * 14/04/2005 Initial version, colin.king@philips.com

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

144 * real hardware behaviour and it need not be backwards
145 * compatible for us. This write is harmless on real hardware.
146 */
147 writel(0, versatile_cfg_base[0] + PCI_INTERRUPT_LINE);
148
149 pci_add_flags(PCI_REASSIGN_ALL_BUS);
150
151 bridge->ops = &pci_versatile_ops;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright 2004 Koninklijke Philips Electronics NV
4 *
5 * Conversion to platform driver and DT:
6 * Copyright 2014 Linaro Ltd.
7 *
8 * 14/04/2005 Initial version, colin.king@philips.com

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

144 * real hardware behaviour and it need not be backwards
145 * compatible for us. This write is harmless on real hardware.
146 */
147 writel(0, versatile_cfg_base[0] + PCI_INTERRUPT_LINE);
148
149 pci_add_flags(PCI_REASSIGN_ALL_BUS);
150
151 bridge->ops = &pci_versatile_ops;
152 bridge->map_irq = of_irq_parse_and_map_pci;
153 bridge->swizzle_irq = pci_common_swizzle;
154
155 return pci_host_probe(bridge);
156}
157
158static const struct of_device_id versatile_pci_of_match[] = {
159 { .compatible = "arm,versatile-pci", },
160 { },
161};

--- 14 unchanged lines hidden ---
152
153 return pci_host_probe(bridge);
154}
155
156static const struct of_device_id versatile_pci_of_match[] = {
157 { .compatible = "arm,versatile-pci", },
158 { },
159};

--- 14 unchanged lines hidden ---