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) ; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"