Release 4.14 arch/mips/mti-malta/malta-reset.c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Carsten Langgaard, carstenl@mips.com
* Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved.
*/
#include <linux/io.h>
#include <linux/pm.h>
#include <linux/reboot.h>
#include <asm/reboot.h>
#include <asm/mach-malta/malta-pm.h>
static void mips_machine_power_off(void)
{
mips_pm_suspend(PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_SOFF);
pr_info("Failed to power down, resetting\n");
machine_restart(NULL);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paul Burton | 19 | 82.61% | 3 | 60.00% |
Ralf Bächle | 2 | 8.70% | 1 | 20.00% |
Linus Torvalds | 2 | 8.70% | 1 | 20.00% |
Total | 23 | 100.00% | 5 | 100.00% |
static int __init mips_reboot_setup(void)
{
pm_power_off = mips_machine_power_off;
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 8 | 50.00% | 1 | 25.00% |
Ralf Bächle | 7 | 43.75% | 2 | 50.00% |
Paul Burton | 1 | 6.25% | 1 | 25.00% |
Total | 16 | 100.00% | 4 | 100.00% |
arch_initcall(mips_reboot_setup);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paul Burton | 26 | 43.33% | 3 | 37.50% |
Ralf Bächle | 19 | 31.67% | 3 | 37.50% |
Linus Torvalds | 13 | 21.67% | 1 | 12.50% |
Steven J. Hill | 2 | 3.33% | 1 | 12.50% |
Total | 60 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.