Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi some int->ACPI_INTEGER to make it compile on am...



details:   https://anonhg.NetBSD.org/src/rev/1bcb29364e3b
branches:  trunk
changeset: 559775:1bcb29364e3b
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Mar 23 19:00:03 2004 +0000

description:
some int->ACPI_INTEGER to make it compile on amd64 again

diffstat:

 sys/dev/acpi/acpi.c                   |  6 +++---
 sys/dev/acpi/acpica/Osd/OsdHardware.c |  6 +++---
 sys/dev/acpi/acpivar.h                |  4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 43e1a6584616 -r 1bcb29364e3b sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c       Tue Mar 23 18:54:32 2004 +0000
+++ b/sys/dev/acpi/acpi.c       Tue Mar 23 19:00:03 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi.c,v 1.58 2004/03/23 14:08:17 kochi Exp $  */
+/*     $NetBSD: acpi.c,v 1.59 2004/03/23 19:00:03 drochner Exp $       */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.58 2004/03/23 14:08:17 kochi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.59 2004/03/23 19:00:03 drochner Exp $");
 
 #include "opt_acpi.h"
 
@@ -783,7 +783,7 @@
  *     Evaluate an integer object.
  */
 ACPI_STATUS
-acpi_eval_integer(ACPI_HANDLE handle, char *path, int *valp)
+acpi_eval_integer(ACPI_HANDLE handle, char *path, ACPI_INTEGER *valp)
 {
        ACPI_STATUS rv;
        ACPI_BUFFER buf;
diff -r 43e1a6584616 -r 1bcb29364e3b sys/dev/acpi/acpica/Osd/OsdHardware.c
--- a/sys/dev/acpi/acpica/Osd/OsdHardware.c     Tue Mar 23 18:54:32 2004 +0000
+++ b/sys/dev/acpi/acpica/Osd/OsdHardware.c     Tue Mar 23 19:00:03 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: OsdHardware.c,v 1.6 2003/10/31 20:52:30 mycroft Exp $  */
+/*     $NetBSD: OsdHardware.c,v 1.7 2004/03/23 19:00:03 drochner Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: OsdHardware.c,v 1.6 2003/10/31 20:52:30 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: OsdHardware.c,v 1.7 2004/03/23 19:00:03 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -284,7 +284,7 @@
        ACPI_STATUS rv;
        ACPI_OBJECT_TYPE type;
        ACPI_PCI_ID *id;
-       int v;
+       ACPI_INTEGER v;
        int bus;
 
        id = *PciId;
diff -r 43e1a6584616 -r 1bcb29364e3b sys/dev/acpi/acpivar.h
--- a/sys/dev/acpi/acpivar.h    Tue Mar 23 18:54:32 2004 +0000
+++ b/sys/dev/acpi/acpivar.h    Tue Mar 23 19:00:03 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpivar.h,v 1.14 2003/11/03 06:03:47 kochi Exp $       */
+/*     $NetBSD: acpivar.h,v 1.15 2004/03/23 19:00:03 drochner Exp $    */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -261,7 +261,7 @@
 int            acpi_probe(void);
 int            acpi_match_hid(ACPI_DEVICE_INFO *, const char * const *);
 
-ACPI_STATUS    acpi_eval_integer(ACPI_HANDLE, char *, int *);
+ACPI_STATUS    acpi_eval_integer(ACPI_HANDLE, char *, ACPI_INTEGER *);
 ACPI_STATUS    acpi_eval_string(ACPI_HANDLE, char *, char **);
 ACPI_STATUS    acpi_eval_struct(ACPI_HANDLE, char *, ACPI_BUFFER *);
 



Home | Main Index | Thread Index | Old Index