summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcs <jcs@openbsd.org>2017-03-07 02:27:02 +0000
committerjcs <jcs@openbsd.org>2017-03-07 02:27:02 +0000
commit74aedba576937f8cf542643a1d23ed12a0c099c3 (patch)
tree0856943dea62e1a43824c905b01ef83fee4b537a
parentdeprecate ifq_enqueue_try, and let backends drop arbitrary mbufs. (diff)
downloadwireguard-openbsd-74aedba576937f8cf542643a1d23ed12a0c099c3.tar.xz
wireguard-openbsd-74aedba576937f8cf542643a1d23ed12a0c099c3.zip
move a TODO to the top
-rw-r--r--sys/dev/acpi/acpisbs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpisbs.c b/sys/dev/acpi/acpisbs.c
index fbb16a14e39..72e691bcb83 100644
--- a/sys/dev/acpi/acpisbs.c
+++ b/sys/dev/acpi/acpisbs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpisbs.c,v 1.2 2017/02/22 21:41:31 jcs Exp $ */
+/* $OpenBSD: acpisbs.c,v 1.3 2017/03/07 02:27:02 jcs Exp $ */
/*
* Smart Battery Subsystem device driver
* ACPI 5.0 spec section 10
@@ -18,6 +18,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/*
+ * TODO: support multiple batteries based on _SBS, make sc_battery an array and
+ * poll each battery independently
+ */
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
@@ -234,7 +239,6 @@ acpisbs_read(struct acpisbs_softc *sc)
break;
}
- /* TODO: support multiple batteries based on _SBS */
sc->sc_batteries_present = 1;
if (*ival & SMBATT_BM_CAPACITY_MODE)