diff options
author | adrian <adrian@FreeBSD.org> | 2010-08-19 02:12:04 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2010-08-19 02:12:04 +0000 |
commit | c8386e2ce4e4b78cd0e82c9f5b2bbb09164588b0 (patch) | |
tree | dc2b074fece3936b99752c482e0ffaaf3249e873 /sys/mips/atheros/ar71xx_machdep.c | |
parent | 6ecc8e83d952494860ecd7c3ac3c01341f1342f9 (diff) | |
download | FreeBSD-src-c8386e2ce4e4b78cd0e82c9f5b2bbb09164588b0.zip FreeBSD-src-c8386e2ce4e4b78cd0e82c9f5b2bbb09164588b0.tar.gz |
Migrate the CPU reset path to use the new cpuops.
Diffstat (limited to 'sys/mips/atheros/ar71xx_machdep.c')
-rw-r--r-- | sys/mips/atheros/ar71xx_machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index a390167..9943db0 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -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) ; |