Received: by mail.netbsd.org (Postfix, from userid 605) id B9A0F19D5FE; Sat, 22 Jan 2011 16:59:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 246DF19D5EB for ; Sat, 22 Jan 2011 16:59:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nF-IVqt8xhUs for ; Sat, 22 Jan 2011 16:59:27 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 582CD19D5DD for ; Sat, 22 Jan 2011 16:59:27 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 37D24175DD; Sat, 22 Jan 2011 16:59:27 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sat, 22 Jan 2011 16:59:27 +0000 From: "Izumi Tsutsui" Subject: CVS commit: src/sys/dev/ic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110122165927.37D24175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Izumi Tsutsui" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: tsutsui Date: Sat Jan 22 16:59:27 UTC 2011 Modified Files: src/sys/dev/ic: com.c Log Message: Revert part of changes in rev 1.298: - it breaks cobalt's serial console as mentioned in PR port-cobalt/44292 - MCR_PRESCALE doesn't affect unless EFR_EFCR is set in the EFR register - even if MCR_PRESCALE is enabled we should define appropriate sc_type variants and BRG values should be adjusted in comspeed() per sc_type - sc_frequency should be adjusted in MD attachment if necessary Tested on cobalt by several people, ok from jklos@ To generate a diff of this commit: cvs rdiff -u -r1.298 -r1.299 src/sys/dev/ic/com.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.