0001
0002 #ifndef __ISA_BRIDGE_H
0003 #define __ISA_BRIDGE_H
0004
0005 #ifdef CONFIG_PPC64
0006
0007 extern void isa_bridge_find_early(struct pci_controller *hose);
0008 extern void isa_bridge_init_non_pci(struct device_node *np);
0009
0010 static inline int isa_vaddr_is_ioport(void __iomem *address)
0011 {
0012
0013 unsigned long ea = (unsigned long)address;
0014 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
0015 }
0016
0017 #else
0018
0019 static inline int isa_vaddr_is_ioport(void __iomem *address)
0020 {
0021
0022
0023
0024 return 0;
0025 }
0026
0027 #endif
0028
0029 #endif
0030