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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to