From owner-freebsd-commit Mon Jun 26 00:40:13 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA00785 for commit-outgoing; Mon, 26 Jun 1995 00:40:13 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA00770 for cvs-sys-outgoing; Mon, 26 Jun 1995 00:40:04 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA00754 ; Mon, 26 Jun 1995 00:39:56 -0700 Date: Mon, 26 Jun 1995 00:39:56 -0700 From: Bruce Evans Message-Id: <199506260739.AAA00754@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 cons.c machdep.c Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/06/26 00:39:54 Modified: sys/i386/i386 cons.c machdep.c Log: Partially fix `sysctl machdep.console_device'. The fix will be complete when syscons stops mapping the console to minor MAXCONS. There is usually no corresponding device in /dev, and the correct device has minor 0. cons.c: Initialize cn_tty properly, so that CPU_CONSDEV can work. Comment about too many variants of the console tty pointer. machdep.c: Return device NODEV and not error EFAULT when there is no console device.