Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Need to provide a consdev to the cons_attach_input ...



details:   https://anonhg.NetBSD.org/src/rev/52e765755662
branches:  trunk
changeset: 486411:52e765755662
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun May 21 14:36:15 2000 +0000

description:
Need to provide a consdev to the cons_attach_input call now.

diffstat:

 sys/arch/sparc/dev/kd.c |  4 ++--
 sys/arch/sun3/dev/kd.c  |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2193534811d8 -r 52e765755662 sys/arch/sparc/dev/kd.c
--- a/sys/arch/sparc/dev/kd.c   Sun May 21 13:00:46 2000 +0000
+++ b/sys/arch/sparc/dev/kd.c   Sun May 21 14:36:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kd.c,v 1.11 2000/05/19 05:26:16 eeh Exp $      */
+/*     $NetBSD: kd.c,v 1.12 2000/05/21 14:36:15 eeh Exp $      */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -684,7 +684,7 @@
        prom_cons_channel.cc_dev = NULL;
        prom_cons_channel.cc_iopen = kd_rom_iopen;
        prom_cons_channel.cc_iclose = kd_rom_iclose;
-       cons_attach_input(&prom_cons_channel);
+       cons_attach_input(&prom_cons_channel, cn_tab);
 
 #ifdef KGDB
        zs_kgdb_init(); /* XXX */
diff -r 2193534811d8 -r 52e765755662 sys/arch/sun3/dev/kd.c
--- a/sys/arch/sun3/dev/kd.c    Sun May 21 13:00:46 2000 +0000
+++ b/sys/arch/sun3/dev/kd.c    Sun May 21 14:36:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kd.c,v 1.32 2000/05/19 05:26:17 eeh Exp $      */
+/*     $NetBSD: kd.c,v 1.33 2000/05/21 14:36:16 eeh Exp $      */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -484,7 +484,7 @@
        prom_cons_channel.cc_dev = NULL;
        prom_cons_channel.cc_iopen = kd_rom_iopen;
        prom_cons_channel.cc_iclose = kd_rom_iclose;
-       cons_attach_input(&prom_cons_channel);
+       cons_attach_input(&prom_cons_channel, cn);
 
        /* Indicate that it is OK to use the PROM fbwrite */
        kd_is_console = 1;



Home | Main Index | Thread Index | Old Index