From owner-cvs-all@FreeBSD.ORG Sat Feb 12 15:43:17 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 EA80516A4CE; Sat, 12 Feb 2005 15:43:17 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C027F43D4C; Sat, 12 Feb 2005 15:43:17 +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 j1CFhH8j098834; Sat, 12 Feb 2005 15:43:17 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1CFhHJZ098833; Sat, 12 Feb 2005 15:43:17 GMT (envelope-from marius) Message-Id: <200502121543.j1CFhHJZ098833@repoman.freebsd.org> From: Marius Strobl Date: Sat, 12 Feb 2005 15:43:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 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 Feb 2005 15:43:18 -0000 marius 2005-02-12 15:43:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/uart uart_cpu_sparc64.c Log: MFC: 1.15 - Don't blindly use the return value of uart_cpu_channel() to calculate the address of a channel on a SCC, it returns 0 on failure. - Hardcode channel 1 for the keyboard on Z8530, the information present in the Open Firmware device tree doesn't allow to determine this via uart_cpu_channel(). This makes the keyboard on Ultra 2 basically work. - Add and improve comments about uart_cpu_channel() and uart_cpu_getdev_*(). Revision Changes Path 1.12.2.2 +33 -7 src/sys/dev/uart/uart_cpu_sparc64.c