Date: Sun, 12 Feb 2006 22:57:04 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp_sbus.c Message-ID: <200602122257.k1CMv4jL021177@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602122257.k1CMv4jL021177>
