diff options
| -rw-r--r-- | sys/i386/apm/apm.c | 8 | ||||
| -rw-r--r-- | sys/i386/bios/apm.c | 8 | ||||
| -rw-r--r-- | sys/i386/include/apm_bios.h | 3 |
3 files changed, 3 insertions, 16 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index 02d4bfd730de..464739a23567 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.94 1999/07/29 01:49:12 msmith Exp $ + * $Id: apm.c,v 1.95 1999/07/29 18:15:33 iwasaki Exp $ */ #include "opt_devfs.h" @@ -1130,12 +1130,6 @@ apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) if (apm_display(newstate)) error = ENXIO; break; -#if 0 - case APMIO_BIOS: - if (apm_bios_call((struct apm_bios_arg*)addr) == 0) - ((struct apm_bios_arg*)addr)->eax &= 0xff; - break; -#endif default: error = EINVAL; break; diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 02d4bfd730de..464739a23567 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.94 1999/07/29 01:49:12 msmith Exp $ + * $Id: apm.c,v 1.95 1999/07/29 18:15:33 iwasaki Exp $ */ #include "opt_devfs.h" @@ -1130,12 +1130,6 @@ apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) if (apm_display(newstate)) error = ENXIO; break; -#if 0 - case APMIO_BIOS: - if (apm_bios_call((struct apm_bios_arg*)addr) == 0) - ((struct apm_bios_arg*)addr)->eax &= 0xff; - break; -#endif default: error = EINVAL; break; diff --git a/sys/i386/include/apm_bios.h b/sys/i386/include/apm_bios.h index 755fd170669f..aa10a76f19ee 100644 --- a/sys/i386/include/apm_bios.h +++ b/sys/i386/include/apm_bios.h @@ -12,7 +12,7 @@ * * Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm_bios.h,v 1.22 1999/07/10 18:08:57 iwasaki Exp $ + * $Id: apm_bios.h,v 1.23 1999/07/29 01:49:19 msmith Exp $ */ #ifndef _MACHINE_APM_BIOS_H_ @@ -232,7 +232,6 @@ struct apm_event_info { #define APMIO_HALTCPU _IO('P', 7) #define APMIO_NOTHALTCPU _IO('P', 8) #define APMIO_DISPLAY _IOW('P', 9, int) -#define APMIO_BIOS _IOWR('P', 10, struct apm_bios_arg) #define APMIO_GETINFO _IOR('P', 11, struct apm_info) #define APMIO_STANDBY _IO('P', 12) /* for /dev/apmctl */ |
