From owner-cvs-all@FreeBSD.ORG Sat Mar 12 17:06:03 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF6C16A4CE; Sat, 12 Mar 2005 17:06:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 882A543D2D; Sat, 12 Mar 2005 17:06:03 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2CH63gj065432; Sat, 12 Mar 2005 17:06:03 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2CH63ds065431; Sat, 12 Mar 2005 17:06:03 GMT (envelope-from marius) Message-Id: <200503121706.j2CH63ds065431@repoman.freebsd.org> From: Marius Strobl Date: Sat, 12 Mar 2005 17:06:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/uart uart_cpu_sparc64.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 17:06:03 -0000 marius 2005-03-12 17:06:03 UTC FreeBSD src repository Modified files: sys/dev/uart uart_cpu_sparc64.c Log: In uart_cpu_getdev_console() when determinig whether we should use a serial console anyway because input-device is set to keyboard and output-device is set to screen but no keyboard is plugged in don't assume that a device node for the input-device alias exists. While this is true for RS232 keyboards (the node of the SCC and UART respectively which controls the keyboard doesn't disappear when no keyboard is plugged in) this assumption breaks for USB keyboards. It's most likely also not true for PS/2 keyboards but OFW doesn't reliably switch to a serial console when the potential keyboard is a PS/2 one which isn't plugged in so this couldn't be verified properly. Reported by: Will Andrews , obrien MFC after: 1 week Revision Changes Path 1.18 +6 -4 src/sys/dev/uart/uart_cpu_sparc64.c