Deleted Added
full compact
syscons.c (65268) syscons.c (65759)
1/*-
2 * Copyright (c) 1992-1998 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1992-1998 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/syscons/syscons.c 65268 2000-08-31 00:08:50Z msmith $
28 * $FreeBSD: head/sys/dev/syscons/syscons.c 65759 2000-09-11 20:37:42Z dwmalone $
29 */
30
31#include "splash.h"
32#include "opt_syscons.h"
33#include "opt_ddb.h"
34#ifdef __i386__
35#include "apm.h"
36#endif

--- 3060 unchanged lines hidden (view full) ---

3097 break;
3098
3099 case RBT:
3100#ifndef SC_DISABLE_REBOOT
3101 shutdown_nice(0);
3102#endif
3103 break;
3104
29 */
30
31#include "splash.h"
32#include "opt_syscons.h"
33#include "opt_ddb.h"
34#ifdef __i386__
35#include "apm.h"
36#endif

--- 3060 unchanged lines hidden (view full) ---

3097 break;
3098
3099 case RBT:
3100#ifndef SC_DISABLE_REBOOT
3101 shutdown_nice(0);
3102#endif
3103 break;
3104
3105 case HALT:
3106#ifndef SC_DISABLE_REBOOT
3107 shutdown_nice(RB_HALT);
3108#endif
3109 break;
3110
3111 case PDWN:
3112#ifndef SC_DISABLE_REBOOT
3113 shutdown_nice(RB_HALT|RB_POWEROFF);
3114#endif
3115 break;
3116
3105#if NAPM > 0
3106 case SUSP:
3107 apm_suspend(PMST_SUSPEND);
3108 break;
3109 case STBY:
3110 apm_suspend(PMST_STANDBY);
3111 break;
3112#else

--- 283 unchanged lines hidden ---
3117#if NAPM > 0
3118 case SUSP:
3119 apm_suspend(PMST_SUSPEND);
3120 break;
3121 case STBY:
3122 apm_suspend(PMST_STANDBY);
3123 break;
3124#else

--- 283 unchanged lines hidden ---