From owner-cvs-src@FreeBSD.ORG Sun Feb 12 22:57:04 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB30516A420; Sun, 12 Feb 2006 22:57:04 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BFDA43D45; Sun, 12 Feb 2006 22:57:04 +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 k1CMv4Gr021178; Sun, 12 Feb 2006 22:57:04 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1CMv4jL021177; Sun, 12 Feb 2006 22:57:04 GMT (envelope-from marius) Message-Id: <200602122257.k1CMv4jL021177@repoman.freebsd.org> From: Marius Strobl Date: Sun, 12 Feb 2006 22:57:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/isp isp_sbus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2006 22:57:05 -0000 marius 2006-02-12 22:57:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/isp isp_sbus.c Log: MFC: 1.17 - Don't shift the clock frequency in MHz left by 8 before assigning it to sbus_mdvec.dv_clock as sbus_mdvec.dv_clock is meant to be specified in MHz. While this was a bug it shouldn't have affected FreeBSD/sparc64 as sbus_mdvec.dv_clock is used to limit the clock rate of chips when a machine isn't able to support them at maximum speed which isn't the case for sun4u machines. - Remove the code that checks whether the clock frequency returned by sbus_get_clockfreq() is 0 and falls back to 25MHz if it is as that's already done in sbus(4). Approved by: re (scottl) Revision Changes Path 1.15.8.2 +7 -11 src/sys/dev/isp/isp_sbus.c