Deleted Added
full compact
acpivar.h (126015) acpivar.h (126517)
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 126015 2004-02-19 18:20:03Z njl $
28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 126517 2004-03-03 03:02:17Z njl $
29 */
30
31#include "bus_if.h"
32#include <sys/eventhandler.h>
33#include <sys/sysctl.h>
34#if __FreeBSD_version >= 500000
35#include <sys/lock.h>
36#include <sys/mutex.h>

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

110# define ACPI_ASSERTLOCK
111# define ACPI_LOCK_DECL
112#endif
113
114/*
115 * ACPI CA does not define layers for non-ACPI CA drivers.
116 * We define some here within the range provided.
117 */
29 */
30
31#include "bus_if.h"
32#include <sys/eventhandler.h>
33#include <sys/sysctl.h>
34#if __FreeBSD_version >= 500000
35#include <sys/lock.h>
36#include <sys/mutex.h>

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

110# define ACPI_ASSERTLOCK
111# define ACPI_LOCK_DECL
112#endif
113
114/*
115 * ACPI CA does not define layers for non-ACPI CA drivers.
116 * We define some here within the range provided.
117 */
118#define ACPI_BUS 0x00010000
119#define ACPI_SYSTEM 0x00020000
120#define ACPI_POWER 0x00040000
121#define ACPI_EC 0x00080000
122#define ACPI_AC_ADAPTER 0x00100000
123#define ACPI_BATTERY 0x00200000
124#define ACPI_BUTTON 0x00400000
118#define ACPI_AC_ADAPTER 0x00010000
119#define ACPI_BATTERY 0x00020000
120#define ACPI_BUS 0x00040000
121#define ACPI_BUTTON 0x00080000
122#define ACPI_EC 0x00100000
123#define ACPI_FAN 0x00200000
124#define ACPI_POWERRES 0x00400000
125#define ACPI_PROCESSOR 0x00800000
126#define ACPI_THERMAL 0x01000000
125#define ACPI_PROCESSOR 0x00800000
126#define ACPI_THERMAL 0x01000000
127#define ACPI_FAN 0x02000000
128#define ACPI_TOSHIBA 0x04000000
127#define ACPI_TIMER 0x02000000
129
130/*
131 * Constants for different interrupt models used with acpi_SetIntrModel().
132 */
133#define ACPI_INTR_PIC 0
134#define ACPI_INTR_APIC 1
135#define ACPI_INTR_SAPIC 2
136

--- 177 unchanged lines hidden ---
128
129/*
130 * Constants for different interrupt models used with acpi_SetIntrModel().
131 */
132#define ACPI_INTR_PIC 0
133#define ACPI_INTR_APIC 1
134#define ACPI_INTR_SAPIC 2
135

--- 177 unchanged lines hidden ---