summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-10-24 18:30:05 +0000
committerjlemon <jlemon@FreeBSD.org>2001-10-24 18:30:05 +0000
commit86a48bed454ad49cef5a324b1f1723bdfab44961 (patch)
treefa272164f93e4dfc93e98858f9c4064d87404a61 /sys/pc98
parentf95cdc1b96dae68a04461594ce87f6ffb5874429 (diff)
downloadFreeBSD-src-86a48bed454ad49cef5a324b1f1723bdfab44961.zip
FreeBSD-src-86a48bed454ad49cef5a324b1f1723bdfab44961.tar.gz
cn_tab no longer exists, use cnadd() to add a console device. Note that
this may result in duplicate console output in some cases.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c2
-rw-r--r--sys/pc98/pc98/sio.c2
-rw-r--r--sys/pc98/pc98/syscons.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 8f999b5..cc231dd 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -4466,7 +4466,7 @@ siocnattach(port, speed)
siocnopen(&sp, siocniobase, comdefaultrate);
splx(s);
- cn_tab = &sio_consdev;
+ cnadd(&sio_consdev);
return (0);
}
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 8f999b5..cc231dd 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -4466,7 +4466,7 @@ siocnattach(port, speed)
siocnopen(&sp, siocniobase, comdefaultrate);
splx(s);
- cn_tab = &sio_consdev;
+ cnadd(&sio_consdev);
return (0);
}
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index dddaacc..edeac2d 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -1411,7 +1411,7 @@ sccnattach(void)
sc_console_unit = unit;
sc_console = SC_STAT(sc_get_softc(unit, SC_KERNEL_CONSOLE)->dev[0]);
consdev.cn_dev = makedev(CDEV_MAJOR, 0);
- cn_tab = &consdev;
+ cnadd(&consdev);
}
#endif /* __alpha__ */
OpenPOWER on IntegriCloud