Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica ACPICA 20100806:



details:   https://anonhg.NetBSD.org/src/rev/1edbc75808cb
branches:  trunk
changeset: 762189:1edbc75808cb
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Feb 17 10:23:43 2011 +0000

description:
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.

diffstat:

 sys/dev/acpi/acpica/OsdHardware.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2c734bd9b49e -r 1edbc75808cb sys/dev/acpi/acpica/OsdHardware.c
--- a/sys/dev/acpi/acpica/OsdHardware.c Thu Feb 17 10:21:43 2011 +0000
+++ b/sys/dev/acpi/acpica/OsdHardware.c Thu Feb 17 10:23:43 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index