acpivar.h (226302) | acpivar.h (231161) |
---|---|
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 226302 2011-10-12 14:13:32Z jhb $ | 28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 231161 2012-02-07 20:54:44Z jkim $ |
29 */ 30 31#ifndef _ACPIVAR_H_ 32#define _ACPIVAR_H_ 33 34#ifdef _KERNEL 35 36#include "acpi_if.h" --- 431 unchanged lines hidden (view full) --- 468ACPI_HANDLE acpi_GetReference(ACPI_HANDLE scope, ACPI_OBJECT *obj); 469 470/* 471 * Base level for BUS_ADD_CHILD. Special devices are added at orders less 472 * than this, and normal devices at or above this level. This keeps the 473 * probe order sorted so that things like sysresource are available before 474 * their children need them. 475 */ | 29 */ 30 31#ifndef _ACPIVAR_H_ 32#define _ACPIVAR_H_ 33 34#ifdef _KERNEL 35 36#include "acpi_if.h" --- 431 unchanged lines hidden (view full) --- 468ACPI_HANDLE acpi_GetReference(ACPI_HANDLE scope, ACPI_OBJECT *obj); 469 470/* 471 * Base level for BUS_ADD_CHILD. Special devices are added at orders less 472 * than this, and normal devices at or above this level. This keeps the 473 * probe order sorted so that things like sysresource are available before 474 * their children need them. 475 */ |
476#define ACPI_DEV_BASE_ORDER 10 | 476#define ACPI_DEV_BASE_ORDER 100 |
477 478/* Default maximum number of tasks to enqueue. */ 479#ifndef ACPI_MAX_TASKS 480#define ACPI_MAX_TASKS 32 481#endif 482 483/* Default number of task queue threads to start. */ 484#ifndef ACPI_MAX_THREADS 485#define ACPI_MAX_THREADS 3 486#endif 487 488/* Use the device logging level for ktr(4). */ 489#define KTR_ACPI KTR_DEV 490 491#endif /* _KERNEL */ 492#endif /* !_ACPIVAR_H_ */ | 477 478/* Default maximum number of tasks to enqueue. */ 479#ifndef ACPI_MAX_TASKS 480#define ACPI_MAX_TASKS 32 481#endif 482 483/* Default number of task queue threads to start. */ 484#ifndef ACPI_MAX_THREADS 485#define ACPI_MAX_THREADS 3 486#endif 487 488/* Use the device logging level for ktr(4). */ 489#define KTR_ACPI KTR_DEV 490 491#endif /* _KERNEL */ 492#endif /* !_ACPIVAR_H_ */ |