mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-19 21:40:56 +00:00
[PATCH] char/rtc: Handle memory-mapped chips properly
Handle memory-mapped chips properly, needed for example on DECstations. This support was in Linux 2.4 but for some reason got lost in 2.6. This patch is taken directly from the linux-mips repository. [akpm@osdl.org: cleanup] Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Cc: Paul Gortmaker <penguin@muskoka.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
06c67befee
commit
38e0e8c055
@@ -19,6 +19,8 @@
|
||||
|
||||
extern volatile u8 *dec_rtc_base;
|
||||
|
||||
#define ARCH_RTC_LOCATION
|
||||
|
||||
#define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
|
||||
#define RTC_IO_EXTENT dec_kn_slot_size
|
||||
#define RTC_IOMAPPED 0
|
||||
|
||||
Reference in New Issue
Block a user