projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b2d31e
)
Version number support for XFree86
author
Jordan K. Hubbard
<jkh@FreeBSD.org>
Tue, 28 Sep 1993 20:53:48 +0000
(20:53 +0000)
committer
Jordan K. Hubbard
<jkh@FreeBSD.org>
Tue, 28 Sep 1993 20:53:48 +0000
(20:53 +0000)
sys/i386/isa/syscons.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/i386/isa/syscons.c
b/sys/i386/isa/syscons.c
index
acf3d56
..
fbafbe2
100644
(file)
--- a/
sys/i386/isa/syscons.c
+++ b/
sys/i386/isa/syscons.c
@@
-39,7
+39,7
@@
*
* virtual consoles, SYSV ioctl's, ANSI emulation
*
*
* virtual consoles, SYSV ioctl's, ANSI emulation
*
- * @(#)syscons.c
0.2e 930924
+ * @(#)syscons.c
1.0 930928
* Derived from:
* @(#)pccons.c 5.11 (Berkeley) 5/21/91
*/
* Derived from:
* @(#)pccons.c 5.11 (Berkeley) 5/21/91
*/
@@
-540,6
+540,10
@@
pcioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
change_winsize(tp, scp->max_posx, scp->max_posy);
return 0;
change_winsize(tp, scp->max_posx, scp->max_posy);
return 0;
+ case CONS_GETVERS: /* get version number */
+ *(int*)data = 0x100; /* version 1.0 */
+ return 0;
+
case CONS_GETINFO: /* get current (virtual) console info */
if (*data == sizeof(struct vid_info)) {
vid_info_t *ptr = (vid_info_t*)data;
case CONS_GETINFO: /* get current (virtual) console info */
if (*data == sizeof(struct vid_info)) {
vid_info_t *ptr = (vid_info_t*)data;