patch-2.1.113 linux/include/linux/kd.h
Next file: linux/include/linux/keyboard.h
Previous file: linux/include/linux/debugreg.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Thu Jul 30 11:18:31 1998
- Orig file:
v2.1.112/linux/include/linux/kd.h
- Orig date:
Fri Jul 31 17:07:03 1998
diff -u --recursive --new-file v2.1.112/linux/include/linux/kd.h linux/include/linux/kd.h
@@ -132,6 +132,27 @@
#define KDSIGACCEPT 0x4B4E /* accept kbd generated signals */
+struct hwclk_time {
+ unsigned sec; /* 0..59 */
+ unsigned min; /* 0..59 */
+ unsigned hour; /* 0..23 */
+ unsigned day; /* 1..31 */
+ unsigned mon; /* 0..11 */
+ unsigned year; /* 70... */
+ int wday; /* 0..6, 0 is Sunday, -1 means unknown/don't set */
+};
+
+#define KDGHWCLK 0x4B50 /* get hardware clock */
+#define KDSHWCLK 0x4B51 /* set hardware clock */
+
+struct kbd_repeat {
+ int delay; /* in msec; <= 0: don't change */
+ int rate; /* in msec; <= 0: don't change */
+};
+
+#define KDKBDREP 0x4B52 /* set keyboard delay/repeat rate;
+ * actually used values are returned */
+
#define KDFONTOP 0x4B72 /* font operations */
struct console_font_op {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov