From owner-svn-src-all@FreeBSD.ORG Sun Nov 28 00:53:44 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1A41065670; Sun, 28 Nov 2010 00:53:44 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 415638FC14; Sun, 28 Nov 2010 00:53:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAS0riEl027084; Sun, 28 Nov 2010 00:53:44 GMT (envelope-from gonzo@svn.freebsd.org) Received: (from gonzo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAS0riii027081; Sun, 28 Nov 2010 00:53:44 GMT (envelope-from gonzo@svn.freebsd.org) Message-Id: <201011280053.oAS0riii027081@svn.freebsd.org> From: Oleksandr Tymoshenko Date: Sun, 28 Nov 2010 00:53:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215961 - in stable/8/sys/mips: atheros conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2010 00:53:44 -0000 Author: gonzo Date: Sun Nov 28 00:53:43 2010 New Revision: 215961 URL: http://svn.freebsd.org/changeset/base/215961 Log: MFC r211509: add the PLL set functions to cpuops Modified: stable/8/sys/mips/atheros/ar71xx_cpudef.h stable/8/sys/mips/conf/AR71XX Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/mips/alchemy/ (props changed) stable/8/sys/mips/atheros/ (props changed) stable/8/sys/mips/cavium/ (props changed) stable/8/sys/mips/cavium/dev/ (props changed) stable/8/sys/mips/rmi/ (props changed) stable/8/sys/mips/rmi/dev/ (props changed) stable/8/sys/mips/sibyte/ (props changed) Modified: stable/8/sys/mips/atheros/ar71xx_cpudef.h ============================================================================== --- stable/8/sys/mips/atheros/ar71xx_cpudef.h Sun Nov 28 00:52:02 2010 (r215960) +++ stable/8/sys/mips/atheros/ar71xx_cpudef.h Sun Nov 28 00:53:43 2010 (r215961) @@ -81,6 +81,16 @@ static inline int ar71xx_device_stopped( return ar71xx_cpu_ops->ar71xx_chip_device_stopped(mask); } +static inline void ar71xx_device_set_pll_ge0(int speed) +{ + ar71xx_cpu_ops->ar71xx_chip_set_pll_ge0(speed); +} + +static inline void ar71xx_device_set_pll_ge1(int speed) +{ + ar71xx_cpu_ops->ar71xx_chip_set_pll_ge1(speed); +} + static inline void ar71xx_device_flush_ddr_ge0(void) { ar71xx_cpu_ops->ar71xx_chip_ddr_flush_ge0(); Modified: stable/8/sys/mips/conf/AR71XX ============================================================================== --- stable/8/sys/mips/conf/AR71XX Sun Nov 28 00:52:02 2010 (r215960) +++ stable/8/sys/mips/conf/AR71XX Sun Nov 28 00:53:43 2010 (r215961) @@ -62,7 +62,7 @@ device ath # Atheros pci/ca options ATH_DEBUG device ath_hal option AH_SUPPORT_AR5416 -option AH_RXCFG_SDMAMW_4BYTES # See NOTES for details of this WAR +# option AH_RXCFG_SDMAMW_4BYTES # See NOTES for details of this WAR device ath_rate_sample device mii @@ -74,12 +74,12 @@ options USB_EHCI_BIG_ENDIAN_DESC device ohci device ehci -device gpio -device gpioled +# device gpio +# device gpioled -device spibus -device ar71xx_spi -device mx25l +# device spibus +# device ar71xx_spi +# device mx25l # device geom_redboot device ar71xx_wdog