Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/dev/acpi Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/eafc786f5ee4
branches: netbsd-9
changeset: 963052:eafc786f5ee4
user: martin <martin%NetBSD.org@localhost>
date: Sat Sep 28 12:39:23 2019 +0000
description:
Pull up following revision(s) (requested by bouyer in ticket #265):
sys/dev/acpi/acpi_i2c.c: revision 1.5
joshua stein, PR kern/54493: acpi_i2c uses incorrect arguments for _DSM call
The last argument to the _DSM call has to be ACPI_TYPE_PACKAGE, as defined in in
clude/acpredef.h for _DSM.
Avoids an ACPI warning at boot.
diffstat:
sys/dev/acpi/acpi_i2c.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 050b31318f97 -r eafc786f5ee4 sys/dev/acpi/acpi_i2c.c
--- a/sys/dev/acpi/acpi_i2c.c Sat Sep 28 12:33:53 2019 +0000
+++ b/sys/dev/acpi/acpi_i2c.c Sat Sep 28 12:39:23 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_i2c.c,v 1.4 2018/05/05 17:16:23 christos Exp $ */
+/* $NetBSD: acpi_i2c.c,v 1.4.8.1 2019/09/28 12:39:23 martin Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_i2c.c,v 1.4 2018/05/05 17:16:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_i2c.c,v 1.4.8.1 2019/09/28 12:39:23 martin Exp $");
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
@@ -68,7 +68,7 @@
obj[2].Type = ACPI_TYPE_INTEGER;
obj[2].Integer.Value = 1;
- obj[3].Type = ACPI_TYPE_ANY;
+ obj[3].Type = ACPI_TYPE_PACKAGE;
obj[3].Buffer.Length = 0;
buf.Pointer = NULL;
Home |
Main Index |
Thread Index |
Old Index