acpi_wakeup.c revision 236403
184447Sdfr/*- 284447Sdfr * Copyright (c) 2001 Doug Rabson 384447Sdfr * All rights reserved. 484447Sdfr * 584447Sdfr * Redistribution and use in source and binary forms, with or without 684447Sdfr * modification, are permitted provided that the following conditions 784447Sdfr * are met: 884447Sdfr * 1. Redistributions of source code must retain the above copyright 984447Sdfr * notice, this list of conditions and the following disclaimer. 1084447Sdfr * 2. Redistributions in binary form must reproduce the above copyright 1184447Sdfr * notice, this list of conditions and the following disclaimer in the 1284447Sdfr * documentation and/or other materials provided with the distribution. 1384447Sdfr * 1484447Sdfr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1584447Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1684447Sdfr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1784447Sdfr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1884447Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1984447Sdfr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2084447Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2184447Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2284447Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2384447Sdfr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2484447Sdfr * SUCH DAMAGE. 2584447Sdfr * 2684447Sdfr * $FreeBSD: head/sys/ia64/acpica/acpi_wakeup.c 236403 2012-06-01 15:26:32Z iwasaki $ 2784447Sdfr */ 2884447Sdfr 2984447Sdfr#include <sys/param.h> 3084447Sdfr#include <sys/bus.h> 3184447Sdfr 32193530Sjkim#include <contrib/dev/acpica/include/acpi.h> 33193530Sjkim 3484447Sdfr#include <dev/acpica/acpivar.h> 3584447Sdfr 3684447Sdfrint 3784447Sdfracpi_sleep_machdep(struct acpi_softc *sc, int state) 3884447Sdfr{ 3984447Sdfr return (0); 4084447Sdfr} 4184447Sdfr 42236403Siwasakiint 43236403Siwasakiacpi_wakeup_machdep(struct acpi_softc *sc, int state, 44236403Siwasaki int sleep_result, int intr_enabled) 45236403Siwasaki{ 46236403Siwasaki return (0); 47236403Siwasaki} 48236403Siwasaki 4984447Sdfrvoid 5084447Sdfracpi_install_wakeup_handler(struct acpi_softc *sc) 5184447Sdfr{ 5284447Sdfr} 53