From 5e9d0cca09bc5a849c9bcbe62ef94688fe3750d2 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 14 Dec 2001 17:07:41 +0000 Subject: on some sony vaios (con dios) battery life is reported in big endian order, swap if flags was given. reported by: Hans-Joerg Hoexer --- sys/arch/i386/include/apmvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386/include/apmvar.h') diff --git a/sys/arch/i386/include/apmvar.h b/sys/arch/i386/include/apmvar.h index 23ec88eab43..1703c833ac1 100644 --- a/sys/arch/i386/include/apmvar.h +++ b/sys/arch/i386/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.13 2001/08/18 06:08:08 mickey Exp $ */ +/* $OpenBSD: apmvar.h,v 1.14 2001/12/14 17:07:40 mickey Exp $ */ /* * Copyright (c) 1995 John T. Kohl @@ -51,6 +51,7 @@ #define APM_MINOR(f) ((f) & 0xff) #define APM_VERMASK 0x0000ffff #define APM_NOCLI 0x00010000 +#define APM_BEBATT 0x00020000 /* APM error codes */ #define APM_ERR_CODE(regs) (((regs)->ax & 0xff00) >> 8) -- cgit v1.2.3