1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/dev
Kazutaka YOKOTA ce834215a7 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
..
advansys Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
aic7xxx Modify my copyright notice to allow the sequencer to be used with GPLed 1997-06-27 19:38:56 +00:00
ar Major overhaul of the SyncPPP layer. Basically, this comprises now a 1997-05-19 22:03:09 +00:00
bktr Added 2 new defines: 1997-06-14 19:10:53 +00:00
ccd Removed unused #includes. 1997-06-14 13:56:12 +00:00
cy Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
de Initial set of patches to get it to compile on >= 3.0. Most of the 1997-06-22 09:48:42 +00:00
dgb Don't depend on gcc's feature of permitting labels that aren't followed 1997-07-01 00:22:51 +00:00
ed Rearrange pci network card identification for easier additions. 1997-04-18 04:44:37 +00:00
eisa Various stylistic improvements regarding num_eisa_slots & co.: 1997-03-13 18:04:05 +00:00
en Removed unused #includes. 1997-06-14 13:56:12 +00:00
ep Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
ex Don't depend on gcc's feature of permitting labels that aren't followed 1997-07-01 00:22:51 +00:00
fdc Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
fe Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
fxp Minor optimization in fxp_intr. 1997-06-16 04:45:57 +00:00
ic Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ie KNF cleanup. 1997-06-27 19:36:27 +00:00
joy Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
kbd Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
lnc Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card. 1997-04-08 10:33:24 +00:00
mcd on second thoughts, it doesn't even need <machine/ipl.h> either. 1997-06-01 16:03:13 +00:00
mse Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
pci Modified to use renamed get_pci_apic_irq() -> pci_apic_pin() function. 1997-06-25 20:56:29 +00:00
pdq Removed unused #includes. 1997-06-14 13:56:12 +00:00
ppbus Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rc Don't depend on gcc's feature of permitting labels that aren't followed 1997-07-01 00:22:51 +00:00
scd Add the D_DISK flag to the cdevsw structs of various CD-ROM drivers. 1997-05-10 12:13:17 +00:00
si Fixed the type of timeout functions and removed casts that hid the 1997-04-20 15:36:12 +00:00
sio Bring back CONSPEED as a last-ditch default if you can't change the speed 1997-06-04 16:25:15 +00:00
snp Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
speaker Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sr Major overhaul of the SyncPPP layer. Basically, this comprises now a 1997-05-19 22:03:09 +00:00
syscons Incorporated lots of fixes and suggestions from Bruce and changes to 1997-07-15 14:49:39 +00:00
vn Removed unused #includes. 1997-06-14 13:56:12 +00:00
vx Don't cast function pointers to (void *). This will cause warnings. 1997-07-01 00:45:45 +00:00
wl Fixed the type of a timeout function and removed casts that hid the 1997-06-14 14:54:55 +00:00