Date: Sat, 30 Apr 2011 02:31:56 +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: r221240 - head/sys/mips/atheros Message-ID: <201104300231.p3U2Vucq025720@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sat Apr 30 02:31:56 2011 New Revision: 221240 URL: http://svn.freebsd.org/changeset/base/221240 Log: Add a missing DDR FIFO method for the ar71xx. Modified: head/sys/mips/atheros/ar71xx_chip.c Modified: head/sys/mips/atheros/ar71xx_chip.c ============================================================================== --- head/sys/mips/atheros/ar71xx_chip.c Sat Apr 30 01:49:36 2011 (r221239) +++ head/sys/mips/atheros/ar71xx_chip.c Sat Apr 30 02:31:56 2011 (r221240) @@ -199,6 +199,12 @@ ar71xx_chip_ddr_flush_ge1(void) ar71xx_ddr_flush(AR71XX_WB_FLUSH_GE1); } +static void +ar71xx_chip_ddr_flush_ip2(void) +{ + ar71xx_ddr_flush(AR71XX_WB_FLUSH_PCI); +} + static uint32_t ar71xx_chip_get_eth_pll(unsigned int mac, int speed) { @@ -235,6 +241,6 @@ struct ar71xx_cpu_def ar71xx_chip_def = &ar71xx_chip_ddr_flush_ge0, &ar71xx_chip_ddr_flush_ge1, &ar71xx_chip_get_eth_pll, - NULL, + &ar71xx_chip_ddr_flush_ip2, &ar71xx_chip_init_usb_peripheral, };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104300231.p3U2Vucq025720>