freebsd-dev/lkm
yokota 5f27b54bd4 Incorporated lots of fixes and suggestions from Bruce and changes to
facilitate the new saver loading/unloading notification interface
in syscons.

daemon_saver:
- M_NOWAIT was wrong, since NULL returns are not handled.  Just use
  M_WAITOK.
- use `ostype' instead of hard-coded "FreeBSD". Now there is no more
  hard-coded string! (But, who will run this screen saver on other
  OS?!)
- put macros and data declarations in a consistent order.
- -DDEAMON_ONLY and -DSHOW_HOSTNAME options added in the previous commit
  are removed. Options of this kind can go stale and no one notices
  because no one uses them. DEAMON_ONLY is just removed. SHOW_HOSTNAME
  is made default.

snake_saver:
- use `ostype' and `osrelease' as in the daemon saver. The string changes
  slightly - there was a hyphen after "FreeBSD"; now there is a space.
  (It is consistent with uname -a, like the daemon server already is.)

all screen savers:
- Use the new add_scrn_saver()/remove_scrn_saver() in syscons.c
  to declare loading/unloading of a screen saver. Removed reference
  to `current_saver' and the variable `old_saver' as they are not
  necessary anymore.
- The blank, fade and green screen savers manipulate VGA registers.
  Module loading should fail for non-VGA cards.
- `scrn_blanked' is consistently treated as a number/counter rather
  than boolean.
- Some savers touch `scp->start' and `scp->end' to force entire screen
  update when stopping themselves. This is unnecessary now because
  syscons.c takes care of that.
- cleared up many unused or unnecessary #include statements.
- Removed -DLKM from Makefiles.

YOU NEED TO RECOMPILE BOTH SCREEN SAVERS AND KERNEL AS OF THIS CHANGE.
1997-07-15 14:49:39 +00:00
..
atapi Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ccd Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
cd9660 Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
coff Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
fdesc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
fpu Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
gnufpu Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ibcs2 Also quiet down the ibcs2 startup (same reason as linux lkm - it screws 1997-05-01 06:09:01 +00:00
if_disc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_ppp Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_sl Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_tun Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ip_mroute_mod Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ipfw Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
joy Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
kernfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
linux Merge 1.8.2.1 into -current. 1997-05-01 06:08:14 +00:00
mfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
msdos Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
nfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
nullfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
pcic Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
portal Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
procfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
qcam Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
syscons Incorporated lots of fixes and suggestions from Bruce and changes to 1997-07-15 14:49:39 +00:00
umapfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
union Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
wcd Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Makefile Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Makefile.inc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00