home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 May / pcp151c.iso / misc / src / install / modutils / kerneld / GOODIES / blanker_patch next >
Encoding:
Text File  |  1998-01-06  |  603 b   |  28 lines

  1. --- linux/drivers/char/console.c.org    Sat Jan  6 10:46:04 1996
  2. +++ linux/drivers/char/console.c    Tue Jan  9 04:55:49 1996
  3. @@ -96,6 +96,7 @@
  4.  #ifdef CONFIG_APM
  5.  #include <linux/apm_bios.h>
  6.  #endif
  7. +#include <linux/kerneld.h>
  8.  
  9.  #include <asm/io.h>
  10.  #include <asm/system.h>
  11. @@ -2115,6 +2116,8 @@
  12.  
  13.      if(!nopowersave)
  14.          vesa_blank();
  15. +
  16. +    kerneld_blanker(1);
  17.  }
  18.  
  19.  void do_unblank_screen(void)
  20. @@ -2130,6 +2133,7 @@
  21.  
  22.      if (!console_blanked)
  23.          return;
  24. +    kerneld_blanker(0);
  25.      if (!vc_cons_allocated(fg_console)) {
  26.          /* impossible */
  27.          printk("unblank_screen: tty %d not allocated ??\n", fg_console+1);
  28.