svn commit: r187518 - projects/mips/sys/mips/atheros

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Jan 20 22:29:42 PST 2009


Author: gonzo
Date: Wed Jan 21 06:29:41 2009
New Revision: 187518
URL: http://svn.freebsd.org/changeset/base/187518

Log:
  - Forgot to add this file to r187515

Modified:
  projects/mips/sys/mips/atheros/ar71xx_machdep.c

Modified: projects/mips/sys/mips/atheros/ar71xx_machdep.c
==============================================================================
--- projects/mips/sys/mips/atheros/ar71xx_machdep.c	Wed Jan 21 06:26:22 2009	(r187517)
+++ projects/mips/sys/mips/atheros/ar71xx_machdep.c	Wed Jan 21 06:29:41 2009	(r187518)
@@ -72,9 +72,9 @@ platform_identify(void)
 void
 platform_reset(void)
 {
-	uint32_t reg = ATH_READ_REG(APB_RST_RESET);
+	uint32_t reg = ATH_READ_REG(AR71XX_RST_RESET);
 
-	ATH_WRITE_REG(APB_RST_RESET, reg | RST_RESET_FULL_CHIP_RESET);
+	ATH_WRITE_REG(AR71XX_RST_RESET, reg | RST_RESET_FULL_CHIP_RESET);
 	/* Wait for reset */
 	while(1)
 		;


More information about the svn-src-projects mailing list