public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2d863
)
coco3: allow normal tty ioctls on drivewire
author
Alan Cox
<alan@linux.intel.com>
Wed, 7 Oct 2015 20:33:49 +0000
(21:33 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 7 Oct 2015 20:33:49 +0000
(21:33 +0100)
I'll leave it to Brett to write graphics mode changing and routines to convert
GFX_DRAW and friends into OS/9 escape sequences 8)
Kernel/platform-coco3/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/devtty.c
b/Kernel/platform-coco3/devtty.c
index
3f757c8
..
074a1ea
100644
(file)
--- a/
Kernel/platform-coco3/devtty.c
+++ b/
Kernel/platform-coco3/devtty.c
@@
-497,7
+497,8
@@
unsigned char vt_map(unsigned char c)
int gfx_ioctl(uint8_t minor, uarg_t arg, char *ptr)
{
- if ( minor > 2 ) goto error; /* remove once DW get its own ioctl() */
+ if ( minor > 2 ) /* remove once DW get its own ioctl() */
+ return tty_ioctl(minor, arg, ptr);
if (arg >> 8 != 0x03)
return vt_ioctl(minor, arg, ptr);
if (arg == GFXIOC_GETINFO)