Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/acpitools/acpidump Part of FreeBSD r323045:
details: https://anonhg.NetBSD.org/src/rev/3c5d984eea79
branches: trunk
changeset: 356086:3c5d984eea79
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Aug 31 09:27:51 2017 +0000
description:
Part of FreeBSD r323045:
- Print Valid Field in ACPI_NFIT_CONTROL_REGION with 0x%02x.
- Fix Flags of ACPI_NFIT_CONTROL_REGION.
diffstat:
usr.sbin/acpitools/acpidump/acpi.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 4a77c508e622 -r 3c5d984eea79 usr.sbin/acpitools/acpidump/acpi.c
--- a/usr.sbin/acpitools/acpidump/acpi.c Thu Aug 31 09:27:28 2017 +0000
+++ b/usr.sbin/acpitools/acpidump/acpi.c Thu Aug 31 09:27:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.19 2017/08/31 06:53:58 msaitoh Exp $ */
+/* $NetBSD: acpi.c,v 1.20 2017/08/31 09:27:51 msaitoh Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: acpi.c,v 1.19 2017/08/31 06:53:58 msaitoh Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.20 2017/08/31 09:27:51 msaitoh Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -2043,7 +2043,7 @@
(u_int)ctlreg->SubsystemDeviceId);
printf("\tSubsystemRevisionId=%u\n",
(u_int)ctlreg->SubsystemRevisionId);
- printf("\tValidFields=%u\n", (u_int)ctlreg->ValidFields);
+ printf("\tValidFields=%02x\n", (u_int)ctlreg->ValidFields);
printf("\tManufacturingLocation=%u\n",
(u_int)ctlreg->ManufacturingLocation);
printf("\tManufacturingDate=%u\n",
@@ -2066,8 +2066,7 @@
#define PRINTFLAG(var, flag) printflag((var), ACPI_NFIT_## flag, #flag)
printf("\tFlags=");
- PRINTFLAG(ctlreg->Flags, ADD_ONLINE_ONLY);
- PRINTFLAG(ctlreg->Flags, PROXIMITY_VALID);
+ PRINTFLAG(ctlreg->Flags, CONTROL_BUFFERED);
PRINTFLAG_END();
#undef PRINTFLAG
Home |
Main Index |
Thread Index |
Old Index