Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/acpi/acpi_ec.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/acpi/acpi_ec.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.68 retrieving revision 1.69 diff -u -p -r1.68 -r1.69 --- src/sys/dev/acpi/acpi_ec.c 2011/01/07 14:08:29 1.68 +++ src/sys/dev/acpi/acpi_ec.c 2011/02/17 10:49:29 1.69 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_ec.c,v 1.68 2011/01/07 14:08:29 cegger Exp $ */ +/* $NetBSD: acpi_ec.c,v 1.69 2011/02/17 10:49:29 jruoho Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger . @@ -59,7 +59,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.68 2011/01/07 14:08:29 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.69 2011/02/17 10:49:29 jruoho Exp $"); #include #include @@ -161,7 +161,7 @@ static bool acpiec_parse_gpe_package(dev static void acpiec_callout(void *); static void acpiec_gpe_query(void *); -static uint32_t acpiec_gpe_handler(void *); +static uint32_t acpiec_gpe_handler(ACPI_HANDLE, uint32_t, void *); static ACPI_STATUS acpiec_space_setup(ACPI_HANDLE, uint32_t, void *, void **); static ACPI_STATUS acpiec_space_handler(uint32_t, ACPI_PHYSICAL_ADDRESS, uint32_t, ACPI_INTEGER *, void *, void *); @@ -366,7 +366,7 @@ acpiec_common_attach(device_t parent, de goto post_csr_map; } - rv = AcpiEnableGpe(sc->sc_gpeh, sc->sc_gpebit, ACPI_GPE_TYPE_RUNTIME); + rv = AcpiEnableGpe(sc->sc_gpeh, sc->sc_gpebit); if (rv != AE_OK) { aprint_error_dev(self, "unable to enable GPE: %s\n", AcpiFormatException(rv)); @@ -844,7 +844,7 @@ acpiec_callout(void *arg) } static uint32_t -acpiec_gpe_handler(void *arg) +acpiec_gpe_handler(ACPI_HANDLE hdl, uint32_t gpebit, void *arg) { device_t dv = arg; struct acpiec_softc *sc = device_private(dv);