diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sio/sio.c | 2 | ||||
-rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index fe62c70..29f594b 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -2840,7 +2840,7 @@ siocnattach(port, speed) siocnopen(&sp, siocniobase, comdefaultrate); splx(s); - cn_tab = &sio_consdev; + cnadd(&sio_consdev); return (0); } diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index c6dd8a2..cf9e4b9 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1407,7 +1407,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__ */ |