Deleted Added
full compact
acpivar.h (135574) acpivar.h (136270)
1/*-
2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 135574 2004-09-22 15:46:16Z jhb $
28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 136270 2004-10-08 17:56:47Z njl $
29 */
30
31#include "acpi_if.h"
32#include "bus_if.h"
33#include <sys/eventhandler.h>
34#include <sys/sysctl.h>
35#include <sys/lock.h>
36#include <sys/mutex.h>

--- 119 unchanged lines hidden (view full) ---

156/*
157 * Constants for different interrupt models used with acpi_SetIntrModel().
158 */
159#define ACPI_INTR_PIC 0
160#define ACPI_INTR_APIC 1
161#define ACPI_INTR_SAPIC 2
162
163/* Quirk flags. */
29 */
30
31#include "acpi_if.h"
32#include "bus_if.h"
33#include <sys/eventhandler.h>
34#include <sys/sysctl.h>
35#include <sys/lock.h>
36#include <sys/mutex.h>

--- 119 unchanged lines hidden (view full) ---

156/*
157 * Constants for different interrupt models used with acpi_SetIntrModel().
158 */
159#define ACPI_INTR_PIC 0
160#define ACPI_INTR_APIC 1
161#define ACPI_INTR_SAPIC 2
162
163/* Quirk flags. */
164extern int acpi_quirks;
164#define ACPI_Q_OK 0
165#define ACPI_Q_BROKEN (1 << 0) /* Disable ACPI completely. */
165#define ACPI_Q_OK 0
166#define ACPI_Q_BROKEN (1 << 0) /* Disable ACPI completely. */
167#define ACPI_Q_TIMER (1 << 1) /* Disable ACPI timer. */
166
167/*
168 * Note that the low ivar values are reserved to provide
169 * interface compatibility with ISA drivers which can also
170 * attach to ACPI.
171 */
172#define ACPI_IVAR_HANDLE 0x100
173#define ACPI_IVAR_MAGIC 0x101

--- 224 unchanged lines hidden ---
168
169/*
170 * Note that the low ivar values are reserved to provide
171 * interface compatibility with ISA drivers which can also
172 * attach to ACPI.
173 */
174#define ACPI_IVAR_HANDLE 0x100
175#define ACPI_IVAR_MAGIC 0x101

--- 224 unchanged lines hidden ---