Module Name: src
Committed By: jruoho
Date: Thu Feb 17 10:23:44 UTC 2011
Modified Files:
src/sys/dev/acpi/acpica: OsdHardware.c
Log Message:
ACPICA 20100806:
Fixed a problem with the prototype for AcpiOsReadPciConfiguration.
The prototype in acpiosxf.h had the output value pointer as a (void *).
It should be a (UINT64 *). This may affect some host OSL code.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/acpica/OsdHardware.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/acpica/OsdHardware.c
diff -u src/sys/dev/acpi/acpica/OsdHardware.c:1.7 src/sys/dev/acpi/acpica/OsdHardware.c:1.8
--- src/sys/dev/acpi/acpica/OsdHardware.c:1.7 Thu Feb 17 10:20:32 2011
+++ src/sys/dev/acpi/acpica/OsdHardware.c Thu Feb 17 10:23:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: OsdHardware.c,v 1.7 2011/02/17 10:20:32 jruoho Exp $ */
+/* $NetBSD: OsdHardware.c,v 1.8 2011/02/17 10:23:43 jruoho Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: OsdHardware.c,v 1.7 2011/02/17 10:20:32 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: OsdHardware.c,v 1.8 2011/02/17 10:23:43 jruoho Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -199,7 +199,7 @@
* Read a value from a PCI configuration register.
*/
ACPI_STATUS
-AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Register, void *Value,
+AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Register, UINT64 *Value,
UINT32 Width)
{
pcitag_t tag;