summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1997-07-02 06:26:51 +0000
committerMiguel de Icaza <miguel@nuclecu.unam.mx>1997-07-02 06:26:51 +0000
commit6523f1a4aea31cc4823f5b80da3f18d407a7a19d (patch)
treefc4eb49a1b9312988e9adef58d436f2a0e11ea7b /include
parentaa2e5b3c38f27ee5efda70e68be0ccff9c334f9b (diff)
New CONFIG_SGI_GRAPHICS turns on the new devices.
And remaining files from previous commit.
Diffstat (limited to 'include')
-rw-r--r--include/linux/miscdevice.h4
-rw-r--r--include/linux/selection.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index a67bc9f7e..471caa0b7 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -12,6 +12,10 @@
#define SUN_OPENPROM_MINOR 139
#define MISC_DYNAMIC_MINOR 255
+#define SGI_GRAPHICS_MINOR 20
+#define SGI_OPENGL_MINOR 21
+#define SGI_GFX_MINOR 22
+
extern int misc_init(void);
struct miscdevice
diff --git a/include/linux/selection.h b/include/linux/selection.h
index 94d3d9a8e..d6f1248f0 100644
--- a/include/linux/selection.h
+++ b/include/linux/selection.h
@@ -113,7 +113,7 @@ static inline unsigned short scr_readw(unsigned short * addr)
#include <linux/vt_kern.h>
#include <linux/kd.h>
-extern void newport_blitc(unsigned short, unsigned long);
+extern void blitc(unsigned short, unsigned long);
extern void memsetw(void * s, unsigned short c, unsigned int count);
extern void memcpyw(unsigned short *to, unsigned short *from, unsigned int count);
extern unsigned long video_mem_term;
@@ -128,7 +128,7 @@ static inline void scr_writew(unsigned short val, unsigned short * addr)
if ((unsigned long)addr < video_mem_term &&
(unsigned long)addr >= video_mem_base &&
vt_cons [fg_console]->vc_mode == KD_TEXT)
- newport_blitc(val, (unsigned long) addr);
+ blitc(val, (unsigned long) addr);
}
}