1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/i386
Bruce Evans f2cb5630d0 cons.c:
Split off cdevsw initialization in cninit() into a new function
cninit_finish() that isn't called until all hardware device drivers
have been attached.  The bdevsw entry of the driver for the physical
console needs to be hooked after the physical driver has been
attached in case the attachment modified the entry.

Rearrange cninit() to avoid changing cn_tab until the driver for the
physical console has been initialized, so that the previous driver
(if any) can be used for debugging.

Start removing half-baked lint support.  bdevsw functions usually have
unused args but /*ARGSUSED*/ was used for only about 5% of them.

cons.h:
Declare cn_init_finish().

autoconf.c:
Call cn_init_finish().

Start adding prototypes.  Functions with bogus linkage (extern where
static is probably should be static) are explicitly declared as extern
so that the can be found easily (extern in a non-header is usually
wrong).

All:
Continue cleaning up init stuff: init functions shall be static;
INITs should be at the start of files...
1995-09-10 18:57:26 +00:00
..
apm Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
bios Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
boot Killed unnecessary \r. 1995-09-07 21:11:34 +00:00
conf Submitted by: Luigi Rizzo (luigi@iet.unipi.it) 1995-09-08 03:20:10 +00:00
eisa ahcprobe now takes a flags argument. For EISA/VL adapters set it to 1995-09-05 23:39:31 +00:00
i386 cons.c: 1995-09-10 18:57:26 +00:00
ibcs2 Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
include Submitted by: Luigi Rizzo 1995-09-08 03:22:00 +00:00
isa Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
linux Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
pci The PCI config mechanism 1 test failed for the Intel Aries. 1995-06-30 16:11:42 +00:00
scsi Clean up a few nits in the aic7xxx driver: 1995-09-05 23:52:03 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00