Remove all vestiges of APMIO_BIOS

Submitted by:	N. Dudorov <nnd@mail.nsk.ru>
This commit is contained in:
Mike Smith 1999-07-30 08:24:23 +00:00
parent 4f8d723376
commit 733e6274d7
3 changed files with 3 additions and 16 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 */