summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpidev.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi/acpidev.h')
-rw-r--r--sys/dev/acpi/acpidev.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpidev.h b/sys/dev/acpi/acpidev.h
index b3b2396a810..415a97e694b 100644
--- a/sys/dev/acpi/acpidev.h
+++ b/sys/dev/acpi/acpidev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidev.h,v 1.2 2005/12/16 21:11:51 marco Exp $ */
+/* $OpenBSD: acpidev.h,v 1.3 2005/12/28 03:08:33 marco Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
@@ -19,6 +19,8 @@
#ifndef __DEV_ACPI_ACPIDEV_H__
#define __DEV_ACPI_ACPIDEV_H__
+#define DEVNAME(s) ((s)->sc_dev.dv_xname)
+
/*
* _BIF (Battery InFormation)
* Arguments: none
@@ -55,7 +57,10 @@ struct acpibat_bif {
u_int32_t bif_low;
u_int32_t bif_cap_granu1;
u_int32_t bif_cap_granu2;
- char bif_data[]; /* 4 strings */
+ const char *bif_model;
+ const char *bif_serial;
+ const char *bif_type;
+ const char *bif_oem;
};
/*