mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Change to continue process after calling `Get Resume TImer' APM
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0). Reviewed by: -mobile ML folks.
This commit is contained in:
parent
8e52b99964
commit
77540b5492
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49790
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id: apm.c,v 1.17 1999/07/30 16:15:11 msmith Exp $";
|
||||
"$Id: apm.c,v 1.18 1999/07/30 19:35:21 msmith Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/file.h>
|
||||
|
@ -173,7 +173,7 @@ print_all_info(int fd, apm_info_t aip)
|
|||
args.ebx = PMDV_APMBIOS;
|
||||
args.ecx = 0x0001;
|
||||
if (ioctl(fd, APMIO_BIOS, &args)) {
|
||||
err(1,"Get resume timer");
|
||||
printf("Resume timer: unknown\n");
|
||||
} else {
|
||||
apmerr = APMERR(args.eax);
|
||||
if (apmerr == 0x0d || apmerr == 0x86)
|
||||
|
|
Loading…
Reference in a new issue