diff options
author | joerg <joerg@FreeBSD.org> | 1994-12-18 19:45:53 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1994-12-18 19:45:53 +0000 |
commit | f758fe2e4c321aaece2fbceea436be464792ad01 (patch) | |
tree | 34bc1ec27ffada82ffed174481d6b9e673f905a9 | |
parent | adeb23824f68bd48dd79b59f1add56d7497aebc0 (diff) | |
download | FreeBSD-src-f758fe2e4c321aaece2fbceea436be464792ad01.zip FreeBSD-src-f758fe2e4c321aaece2fbceea436be464792ad01.tar.gz |
Initialize syscons also in cases where it ain't the system's console
(i.e., there's a comconsole).
-rw-r--r-- | sys/dev/syscons/syscons.c | 5 | ||||
-rw-r--r-- | sys/i386/isa/syscons.c | 5 | ||||
-rw-r--r-- | sys/isa/syscons.c | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 78e1c61..f77531f 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.81 1994/12/06 19:32:00 sos Exp $ + * $Id: syscons.c,v 1.82 1994/12/18 19:35:59 joerg Exp $ */ #include "sc.h" @@ -374,6 +374,9 @@ pcattach(struct isa_device *dev) int i; struct scr_stat *scp; + if (crtat == 0) + scinit(); + printf("sc%d: ", dev->id_unit); if (crtc_vga) if (crtc_addr == MONO_BASE) diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c index 78e1c61..f77531f 100644 --- a/sys/i386/isa/syscons.c +++ b/sys/i386/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.81 1994/12/06 19:32:00 sos Exp $ + * $Id: syscons.c,v 1.82 1994/12/18 19:35:59 joerg Exp $ */ #include "sc.h" @@ -374,6 +374,9 @@ pcattach(struct isa_device *dev) int i; struct scr_stat *scp; + if (crtat == 0) + scinit(); + printf("sc%d: ", dev->id_unit); if (crtc_vga) if (crtc_addr == MONO_BASE) diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index 78e1c61..f77531f 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.81 1994/12/06 19:32:00 sos Exp $ + * $Id: syscons.c,v 1.82 1994/12/18 19:35:59 joerg Exp $ */ #include "sc.h" @@ -374,6 +374,9 @@ pcattach(struct isa_device *dev) int i; struct scr_stat *scp; + if (crtat == 0) + scinit(); + printf("sc%d: ", dev->id_unit); if (crtc_vga) if (crtc_addr == MONO_BASE) |