diff options
Diffstat (limited to 'include/asm-frv/mb-regs.h')
-rw-r--r-- | include/asm-frv/mb-regs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-frv/mb-regs.h b/include/asm-frv/mb-regs.h index c8f575fc42fa..93fa732fb0cd 100644 --- a/include/asm-frv/mb-regs.h +++ b/include/asm-frv/mb-regs.h | |||
@@ -68,6 +68,9 @@ do { \ | |||
68 | #define __is_PCI_MEM(addr) \ | 68 | #define __is_PCI_MEM(addr) \ |
69 | ((unsigned long)(addr) - __region_PCI_MEM < 0x08000000UL) | 69 | ((unsigned long)(addr) - __region_PCI_MEM < 0x08000000UL) |
70 | 70 | ||
71 | #define __is_PCI_addr(addr) \ | ||
72 | ((unsigned long)(addr) - __region_PCI_IO < 0x0c000000UL) | ||
73 | |||
71 | #define __get_CLKSW() ({ *(volatile unsigned long *)(__region_CS2 + 0x0130000cUL) & 0xffUL; }) | 74 | #define __get_CLKSW() ({ *(volatile unsigned long *)(__region_CS2 + 0x0130000cUL) & 0xffUL; }) |
72 | #define __get_CLKIN() (__get_CLKSW() * 125U * 100000U / 24U) | 75 | #define __get_CLKIN() (__get_CLKSW() * 125U * 100000U / 24U) |
73 | 76 | ||
@@ -149,6 +152,7 @@ do { \ | |||
149 | 152 | ||
150 | #define __is_PCI_IO(addr) 0 /* no PCI */ | 153 | #define __is_PCI_IO(addr) 0 /* no PCI */ |
151 | #define __is_PCI_MEM(addr) 0 | 154 | #define __is_PCI_MEM(addr) 0 |
155 | #define __is_PCI_addr(addr) 0 | ||
152 | #define __region_PCI_IO 0 | 156 | #define __region_PCI_IO 0 |
153 | #define __region_PCI_MEM 0 | 157 | #define __region_PCI_MEM 0 |
154 | #define __flush_PCI_writes() do { } while(0) | 158 | #define __flush_PCI_writes() do { } while(0) |