diff options
-rw-r--r-- | sys/arch/sparc/include/cpu.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h index 802036af481..c33a70c9581 100644 --- a/sys/arch/sparc/include/cpu.h +++ b/sys/arch/sparc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.17 2002/08/12 10:44:04 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.18 2002/08/12 16:35:38 miod Exp $ */ /* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */ /* @@ -52,14 +52,14 @@ * CTL_MACHDEP definitions. */ #define CPU_LED_BLINK 1 /* int: twiddle the power LED */ -#define CPU_VSYNCBLANK 2 /* int: turn off monitors in *blank */ + /* 2 formerly int: vsyncblank */ #define CPU_CPUTYPE 3 /* int: cpu type */ #define CPU_MAXID 4 /* 3 valid machdep IDs */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "led_blink", CTLTYPE_INT }, \ - { "vsyncblank", CTLTYPE_INT }, \ + { 0, 0 }, \ { "cputype", CTLTYPE_INT }, \ } diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 7de944e8aa1..25fbfba5944 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.84 2002/07/20 19:24:56 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.85 2002/08/12 16:35:40 miod Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -138,7 +138,6 @@ int physmem; /* sysctl settable */ int sparc_led_blink = 0; -int sparc_vsyncblank = 0; /* * safepri is a safe priority for sleep to set for a spin-wait @@ -470,10 +469,6 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) return (ENOTDIR); /* overloaded */ switch (name[0]) { - case CPU_VSYNCBLANK: - ret = sysctl_int(oldp, oldlenp, newp, newlen, - &sparc_vsyncblank); - return (ret); case CPU_LED_BLINK: #if (NLED > 0) || (NAUXREG > 0) || (NSCF > 0) oldval = sparc_led_blink; |