mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Remove all vestiges of APMIO_BIOS
Submitted by: N. Dudorov <nnd@mail.nsk.ru>
This commit is contained in:
parent
4f8d723376
commit
733e6274d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49248
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user