This source file includes following definitions.
- isa_vaddr_is_ioport
- isa_vaddr_is_ioport
1
2 #ifndef __ISA_BRIDGE_H
3 #define __ISA_BRIDGE_H
4
5 #ifdef CONFIG_PPC64
6
7 extern void isa_bridge_find_early(struct pci_controller *hose);
8 extern void isa_bridge_init_non_pci(struct device_node *np);
9
10 static inline int isa_vaddr_is_ioport(void __iomem *address)
11 {
12
13 unsigned long ea = (unsigned long)address;
14 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
15 }
16
17 #else
18
19 static inline int isa_vaddr_is_ioport(void __iomem *address)
20 {
21
22
23
24 return 0;
25 }
26
27 #endif
28
29 #endif
30