patch-2.1.48 linux/include/asm-ppc/nvram.h
Next file: linux/include/asm-ppc/page.h
Previous file: linux/include/asm-ppc/namei.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Jul 31 13:09:18 1997
- Orig file:
v2.1.47/linux/include/asm-ppc/nvram.h
- Orig date:
Mon May 27 02:00:59 1996
diff -u --recursive --new-file v2.1.47/linux/include/asm-ppc/nvram.h linux/include/asm-ppc/nvram.h
@@ -9,6 +9,7 @@
#define NVRAM_AS1 0x75
#define NVRAM_DATA 0x77
+
/* RTC Offsets */
#define RTC_SECONDS 0x1FF9
@@ -18,6 +19,8 @@
#define RTC_DAY_OF_MONTH 0x1FFD
#define RTC_MONTH 0x1FFE
#define RTC_YEAR 0x1FFF
+#define RTC_CONTROLA 0x1FF8
+#define RTC_CONTROLB 0x1FF9
#ifndef BCD_TO_BIN
#define BCD_TO_BIN(val) ((val)=((val)&15) + ((val)>>4)*10)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov