From owner-cvs-all@FreeBSD.ORG Sat Apr 3 21:06:26 2004 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 617BA16A4CE; Sat, 3 Apr 2004 21:06:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B98543D5A; Sat, 3 Apr 2004 21:06:26 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3456QGe089492; Sat, 3 Apr 2004 21:06:26 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3456Qwo089491; Sat, 3 Apr 2004 21:06:26 -0800 (PST) (envelope-from marcel) Message-Id: <200404040506.i3456Qwo089491@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 3 Apr 2004 21:06:26 -0800 (PST) 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: Sun, 04 Apr 2004 05:06:26 -0000 marcel 2004/04/03 21:06:26 PST FreeBSD src repository Modified files: sys/dev/uart uart_cpu_sparc64.c Log: To quote submitter: "... uart_cpu_sparc64.c currently only looks at /options if ttyX is the selected console. However, there's one case where it should additionally look at /chosen. If "keyboard" is the selected input- device and "screen" the output-device (both via /options) but the keyboard is unplugged, OF automatically switches to ttya for the console. It even prints a line telling so on "screen". Solaris respects this behaviour and uses ttya as the console in this case and people probably expect FreeBSD to do the same (it's also very handy to temporarily switch consoles)..." Submitted by: Marius Strobl Has no doubt the change is correct: marcel Revision Changes Path 1.10 +24 -8 src/sys/dev/uart/uart_cpu_sparc64.c