pci-bridge.h (8a517c514d5893602cf85c1b4c47afbbc04d2198) pci-bridge.h (fbe65447197789a3ccccc27755956f6a4c445089)
1#ifndef _ASM_POWERPC_PCI_BRIDGE_H
2#define _ASM_POWERPC_PCI_BRIDGE_H
3#ifdef __KERNEL__
4/*
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

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

279 /* Check if address hits the reserved legacy IO range */
280 unsigned long ea = (unsigned long)address;
281 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
282}
283
284extern int pcibios_unmap_io_space(struct pci_bus *bus);
285extern int pcibios_map_io_space(struct pci_bus *bus);
286
1#ifndef _ASM_POWERPC_PCI_BRIDGE_H
2#define _ASM_POWERPC_PCI_BRIDGE_H
3#ifdef __KERNEL__
4/*
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

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

279 /* Check if address hits the reserved legacy IO range */
280 unsigned long ea = (unsigned long)address;
281 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
282}
283
284extern int pcibios_unmap_io_space(struct pci_bus *bus);
285extern int pcibios_map_io_space(struct pci_bus *bus);
286
287/* Return values for ppc_md.pci_probe_mode function */
288#define PCI_PROBE_NONE -1 /* Don't look at this bus at all */
289#define PCI_PROBE_NORMAL 0 /* Do normal PCI probing */
290#define PCI_PROBE_DEVTREE 1 /* Instantiate from device tree */
291
292#ifdef CONFIG_NUMA
293#define PHB_SET_NODE(PHB, NODE) ((PHB)->node = (NODE))
294#else
295#define PHB_SET_NODE(PHB, NODE) ((PHB)->node = -1)
296#endif
297
298#endif /* CONFIG_PPC64 */
299

--- 29 unchanged lines hidden ---
287#ifdef CONFIG_NUMA
288#define PHB_SET_NODE(PHB, NODE) ((PHB)->node = (NODE))
289#else
290#define PHB_SET_NODE(PHB, NODE) ((PHB)->node = -1)
291#endif
292
293#endif /* CONFIG_PPC64 */
294

--- 29 unchanged lines hidden ---