/* * 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. * * Copyright (C) 2001 Keith M Wesolowski * Copyright (C) 2001 Paul Mundt * Copyright (C) 2003 Guido Guenther <agx@sigxcpu.org>
*/
#define POWERDOWN_TIMEOUT 120 /* * Blink frequency during reboot grace period and when panicked.
*/ #define POWERDOWN_FREQ (HZ / 4) #define PANIC_FREQ (HZ / 8)
#ifdef CONFIG_MODULES /* If the first __symbol_get failed, our module wasn't loaded. */ if (!poweroff_func) {
request_module("rtc-ds1685");
poweroff_func = symbol_get(ds1685_rtc_poweroff);
} #endif
if (!poweroff_func)
pr_emerg("RTC not available for power-off. Spinning forever ...\n"); else {
(*poweroff_func)((struct platform_device *)data);
symbol_put(ds1685_rtc_poweroff);
}
static __init int ip32_reboot_setup(void)
{ /* turn on the green led only */ unsignedlong led = mace->perif.ctrl.misc;
led |= MACEISA_LED_RED;
led &= ~MACEISA_LED_GREEN;
mace->perif.ctrl.misc = led;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.