From owner-cvs-src-old@FreeBSD.ORG Fri May 14 19:12:15 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 849F6106573B for ; Fri, 14 May 2010 19:12:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6B44A8FC16 for ; Fri, 14 May 2010 19:12:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4EJCEjZ049874 for ; Fri, 14 May 2010 19:12:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4EJCEFU049873 for cvs-src-old@freebsd.org; Fri, 14 May 2010 19:12:14 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201005141912.o4EJCEFU049873@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 14 May 2010 19:12:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/cas if_cas.c if_casreg.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2010 19:12:15 -0000 marius 2010-05-14 19:12:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cas if_cas.c if_casreg.h Log: SVN rev 208087 on 2010-05-14 19:12:01Z by marius MFC: r207585 - Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES on Cassini using the external PCS SERDES otherwise unaligned access traps and other strange effects happen with some machines. Don't touch the MIF which is unused in that case either. These changes require the PHY type to use to be determined via the OFW device tree or from the VPD in machines without the former. - Disable the SERDES pins of Saturn when not used in order to save power and ensure they are enabled otherwise. - In cas_attach() use the correct register offset for CAS_PCS_CONF_EN. - Add some bus space barriers missing in the PCS code path. These changes make the Sun GigaSwift Ethernet 1.0 MMF cards as well as the on-board interfaces found in Sun Fire B100s Blade Server work. PR: 144867 Revision Changes Path 1.4.4.3 +162 -70 src/sys/dev/cas/if_cas.c 1.1.4.3 +12 -0 src/sys/dev/cas/if_casreg.h