patch-pre2.0.12 linux/drivers/char/tga.c
Next file: linux/drivers/scsi/53c7,8xx.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Jun 4 06:06:37 1996
- Orig file:
pre2.0.11/linux/drivers/char/tga.c
- Orig date:
Fri Apr 12 15:51:53 1996
diff -u --recursive --new-file pre2.0.11/linux/drivers/char/tga.c linux/drivers/char/tga.c
@@ -205,6 +205,10 @@
{
int i, j;
+ if (console_blanked || vt_cons[fg_console]->vc_mode == KD_GRAPHICS)
+ return;
+
+
if (tga_type == 0) { /* 8-plane */
BT485_WRITE(0x00, BT485_ADDR_PAL_WRITE);
TGA_WRITE_REG(BT485_DATA_PAL, TGA_RAMDAC_SETUP_REG);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this