Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



In article <20031017181643.341A22DA1D%cvs.netbsd.org@localhost>
cdi%netbsd.org@localhost wrote:

> Module Name:  src
> Committed By: cdi
> Date:         Fri Oct 17 18:16:43 UTC 2003
> 
> Modified Files:
>       src/sys/conf: files
>       src/sys/dev: cons.c cons.h
> 
> Log Message:
> Introduce null console. This pseudo device acts as a normal console with the
> exception that it discards any output, and is useful for booting the kernel
> on headless boxes.
 :
> cvs rdiff -r1.50 -r1.51 src/sys/dev/cons.c

-struct consdev *cn_tab;        /* physical console device info */
+struct consdev *cn_tab = NULL; /* physical console device info */

Is this initialization really needed for nullcons support?
Some ports (like sun3) initialize cn_tab in MD sources,
so this change causes "multiple definition" error on link.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index