Author: adrian Date: Thu Aug 19 16:15:30 2010 New Revision: 211509 URL: http://svn.freebsd.org/changeset/base/211509
Log: add the PLL set functions to cpuops Modified: head/sys/mips/atheros/ar71xx_cpudef.h Modified: head/sys/mips/atheros/ar71xx_cpudef.h ============================================================================== --- head/sys/mips/atheros/ar71xx_cpudef.h Thu Aug 19 15:55:50 2010 (r211508) +++ head/sys/mips/atheros/ar71xx_cpudef.h Thu Aug 19 16:15:30 2010 (r211509) @@ -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(); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"