patch-2.0.31 linux/drivers/char/misc.c
Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Aug 12 13:06:54 1997
- Orig file:
v2.0.30/linux/drivers/char/misc.c
- Orig date:
Wed Nov 6 04:39:42 1996
diff -u --recursive --new-file v2.0.30/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -57,7 +57,7 @@
/*
* Assigned numbers, used for dynamic minors
*/
-#define DYNAMIC_MINORS 64 /* like dynamic majors */
+#define DYNAMIC_MINORS 64 /* like dynamic majors used to do */
static unsigned char misc_minors[DYNAMIC_MINORS / 8];
#ifndef MODULE
@@ -70,6 +70,8 @@
extern void wdt_init(void);
extern void pcwatchdog_init(void);
extern int rtc_init(void);
+extern int con_get_info(int *mode, int *shift, int *col, int *row,
+ struct tty_struct **tty);
#ifdef CONFIG_PROC_FS
static int proc_misc_read(char *buf, char **start, off_t offset, int len, int unused)
@@ -181,6 +183,7 @@
#ifndef MODULE
X(set_selection), /* used by the kmouse module, can only */
X(paste_selection), /* be exported if misc.c is in linked in */
+ X(con_get_info),
#endif
#include <linux/symtab_end.h>
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov