11.2Sjruoho/* $NetBSD: acpi_ecvar.h,v 1.2 2010/03/05 08:30:48 jruoho Exp $ */ 21.1Sjmcneill 31.1Sjmcneill/*- 41.1Sjmcneill * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. 51.1Sjmcneill * All rights reserved. 61.1Sjmcneill * 71.1Sjmcneill * Redistribution and use in source and binary forms, with or without 81.1Sjmcneill * modification, are permitted provided that the following conditions 91.1Sjmcneill * are met: 101.1Sjmcneill * 111.1Sjmcneill * 1. Redistributions of source code must retain the above copyright 121.1Sjmcneill * notice, this list of conditions and the following disclaimer. 131.1Sjmcneill * 2. Redistributions in binary form must reproduce the above copyright 141.1Sjmcneill * notice, this list of conditions and the following disclaimer in 151.1Sjmcneill * the documentation and/or other materials provided with the 161.1Sjmcneill * distribution. 171.1Sjmcneill * 181.1Sjmcneill * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 191.1Sjmcneill * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 201.1Sjmcneill * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 211.1Sjmcneill * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 221.1Sjmcneill * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 231.1Sjmcneill * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 241.1Sjmcneill * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 251.1Sjmcneill * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 261.1Sjmcneill * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 271.1Sjmcneill * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 281.1Sjmcneill * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 291.1Sjmcneill * SUCH DAMAGE. 301.1Sjmcneill */ 311.1Sjmcneill 321.2Sjruoho#ifndef _SYS_DEV_ACPI_ACPI_ECVAR_H 331.2Sjruoho#define _SYS_DEV_ACPI_ACPI_ECVAR_H 341.1Sjmcneill 351.1SjmcneillACPI_STATUS acpiec_bus_read(device_t, u_int, ACPI_INTEGER *, int); 361.1SjmcneillACPI_STATUS acpiec_bus_write(device_t, u_int, ACPI_INTEGER, int); 371.1SjmcneillACPI_HANDLE acpiec_get_handle(device_t); 381.1Sjmcneill 391.2Sjruoho#endif /* !_SYS_DEV_ACPI_ACPI_ECVAR_H */ 40