diff options
Diffstat (limited to 'include/asm-sparc/io.h')
-rw-r--r-- | include/asm-sparc/io.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/asm-sparc/io.h b/include/asm-sparc/io.h index a26453b2f..da901ab88 100644 --- a/include/asm-sparc/io.h +++ b/include/asm-sparc/io.h @@ -1,4 +1,4 @@ -/* $Id: io.h,v 1.18 1998/09/21 05:07:17 jj Exp $ */ +/* $Id: io.h,v 1.20 1999/06/03 15:02:50 davem Exp $ */ #ifndef __SPARC_IO_H #define __SPARC_IO_H @@ -162,4 +162,19 @@ static __inline__ void *sparc_dvma_malloc(int size, char *name, __u32 *dvmaaddr_ #define virt_to_phys(x) __pa((unsigned long)(x)) #define phys_to_virt(x) __va((unsigned long)(x)) +/* + * At the moment, we do not use CMOS_READ anywhere outside of rtc.c, + * so rtc_port is static in it. This should not change unless a new + * hardware pops up. + */ + +#define RTC_PORT(x) (rtc_port + (x)) +#define RTC_ALWAYS_BCD 0 + +/* Nothing to do */ + +#define dma_cache_inv(_start,_size) do { } while (0) +#define dma_cache_wback(_start,_size) do { } while (0) +#define dma_cache_wback_inv(_start,_size) do { } while (0) + #endif /* !(__SPARC_IO_H) */ |