svn commit: r221240 - head/sys/mips/atheros

Adrian Chadd adrian at FreeBSD.org
Sat Apr 30 02:31:57 UTC 2011


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,
 };


More information about the svn-src-head mailing list