patch-2.0.21-2.1.0 linux/drivers/char/selection.h
Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Mon Sep 30 11:20:42 1996
- Orig file:
lx2.0/v2.0.21/linux/drivers/char/selection.h
- Orig date:
Thu Jul 25 20:28:05 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/drivers/char/selection.h linux/drivers/char/selection.h
@@ -108,8 +108,6 @@
*
*/
-#ifdef __alpha__
-
#include <asm/io.h>
/*
@@ -147,33 +145,6 @@
return readw((unsigned long) addr);
}
-#else /* __alpha__ */
-/*
- * normal VGA console access
- *
- * NOTE: these do normal PC-style frame buffer accesses
- */
-static inline void scr_writeb(unsigned char val, unsigned char * addr)
-{
- *addr = val;
-}
-
-static inline unsigned char scr_readb(unsigned char * addr)
-{
- return *addr;
-}
-
-static inline void scr_writew(unsigned short val, unsigned short * addr)
-{
- *addr = val;
-}
-
-static inline unsigned short scr_readw(unsigned short * addr)
-{
- return *addr;
-}
-
-#endif /* __alpha__ */
#endif /* CONFIG_TGA_CONSOLE */
static inline void memsetw(void * s, unsigned short c, unsigned int count)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov