Module Name: src
Committed By: riastradh
Date: Fri Aug 10 17:11:56 UTC 2018
Modified Files:
src/sys/dev/acpi: acpi_bat.c
Log Message:
Don't hold up boot: defer acpibat(4) inquiry until threads are running.
ok jmcneill@
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/acpi/acpi_bat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/acpi_bat.c
diff -u src/sys/dev/acpi/acpi_bat.c:1.115 src/sys/dev/acpi/acpi_bat.c:1.116
--- src/sys/dev/acpi/acpi_bat.c:1.115 Thu Apr 23 23:23:00 2015
+++ src/sys/dev/acpi/acpi_bat.c Fri Aug 10 17:11:56 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_bat.c,v 1.115 2015/04/23 23:23:00 pgoyette Exp $ */
+/* $NetBSD: acpi_bat.c,v 1.116 2018/08/10 17:11:56 riastradh Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.115 2015/04/23 23:23:00 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.116 2018/08/10 17:11:56 riastradh Exp $");
#include <sys/param.h>
#include <sys/condvar.h>
@@ -252,7 +252,7 @@ acpibat_attach(device_t parent, device_t
if (sc->sc_sensor == NULL)
return;
- acpibat_init_envsys(self);
+ config_interrupts(self, acpibat_init_envsys);
/*
* If this is ever seen, the driver should be extended.