Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 05:30:08 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276691 - head/sys/mips/atheros
Message-ID:  <201501050530.t055U8f7094292@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jan  5 05:30:07 2015
New Revision: 276691
URL: https://svnweb.freebsd.org/changeset/base/276691

Log:
  Remove the remnants of the OpenWRT/Linux bits that this was based off
  of.
  
  Obtained from:	Linux/OpenWRT

Modified:
  head/sys/mips/atheros/qca955x_chip.c

Modified: head/sys/mips/atheros/qca955x_chip.c
==============================================================================
--- head/sys/mips/atheros/qca955x_chip.c	Mon Jan  5 05:26:57 2015	(r276690)
+++ head/sys/mips/atheros/qca955x_chip.c	Mon Jan  5 05:30:07 2015	(r276691)
@@ -144,16 +144,6 @@ qca955x_chip_detect_sys_frequency(void)
 	else
 		ahb_rate = cpu_pll / (postdiv + 1);
 
-#if 0
-	ath79_add_sys_clkdev("ref", ref_rate);
-	ath79_add_sys_clkdev("cpu", cpu_rate);
-	ath79_add_sys_clkdev("ddr", ddr_rate);
-	ath79_add_sys_clkdev("ahb", ahb_rate);
-
-	clk_add_alias("wdt", NULL, "ref", NULL);
-	clk_add_alias("uart", NULL, "ref", NULL);
-#endif
-
 	u_ar71xx_ddr_freq = ddr_rate;
 	u_ar71xx_cpu_freq = cpu_rate;
 	u_ar71xx_ahb_freq = ahb_rate;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501050530.t055U8f7094292>