diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-10 14:01:35 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-10 14:01:35 +0000 |
commit | 56809581f0a807350024253afaa47fcd218be388 (patch) | |
tree | 2f724c2325402d518c6997e69f609cb3c9e73ff5 /sys/isa/sio.c | |
parent | 61eefd2271fb6b7354c0707002b9d1109942b1aa (diff) | |
download | FreeBSD-src-56809581f0a807350024253afaa47fcd218be388.zip FreeBSD-src-56809581f0a807350024253afaa47fcd218be388.tar.gz |
Adjust console stuff now that makedev is no longer a macro.
Diffstat (limited to 'sys/isa/sio.c')
-rw-r--r-- | sys/isa/sio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 8b3630b..20354d3 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.239 1999/05/09 16:56:38 peter Exp $ + * $Id: sio.c,v 1.240 1999/05/09 20:35:02 peter Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -2862,7 +2862,7 @@ siocnprobe(cp) struct consdev siocons = { NULL, NULL, siocngetc, siocncheckc, siocnputc, - NULL, makedev(CDEV_MAJOR, 0), CN_NORMAL, + NULL, 0, CN_NORMAL, }; extern struct consdev *cn_tab; @@ -2901,6 +2901,7 @@ siocnattach(port, speed) siocnopen(&sp, siocniobase, comdefaultrate); splx(s); + siocons.cn_dev = makedev(CDEV_MAJOR, 0); cn_tab = &siocons; return 0; } |