Date: Thu, 19 Aug 2010 02:12:04 +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: r211480 - head/sys/mips/atheros Message-ID: <201008190212.o7J2C4OQ086726@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Aug 19 02:12:04 2010 New Revision: 211480 URL: http://svn.freebsd.org/changeset/base/211480 Log: Migrate the CPU reset path to use the new cpuops. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_machdep.c ============================================================================== --- head/sys/mips/atheros/ar71xx_machdep.c Thu Aug 19 02:10:05 2010 (r211479) +++ head/sys/mips/atheros/ar71xx_machdep.c Thu Aug 19 02:12:04 2010 (r211480) @@ -121,9 +121,7 @@ platform_identify(void) void platform_reset(void) { - uint32_t reg = ATH_READ_REG(AR71XX_RST_RESET); - - ATH_WRITE_REG(AR71XX_RST_RESET, reg | RST_RESET_FULL_CHIP); + ar71xx_device_stop(RST_RESET_FULL_CHIP); /* Wait for reset */ while(1) ;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008190212.o7J2C4OQ086726>