Unify ACPI_DEBUG support for all OEM drivers under ACPI_OEM. Since more than

one will never be supported on the same platform, this does not hurt
debugging.

MFC after:	3 days
This commit is contained in:
Nate Lawson 2004-12-13 23:31:46 +00:00
parent 93c22173bd
commit 276cd9216d
7 changed files with 16 additions and 4 deletions

View file

@ -109,6 +109,8 @@ The supported layers are:
.It
.Li ACPI_FAN
.It
.Li ACPI_OEM
.It
.Li ACPI_POWER
.It
.Li ACPI_PROCESSOR

View file

@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
#include <dev/acpica/acpivar.h>
#include <dev/led/led.h>
#define _COMPONENT ACPI_ASUS
#define _COMPONENT ACPI_OEM
ACPI_MODULE_NAME("ASUS")
struct acpi_asus_model {

View file

@ -38,7 +38,7 @@
#include <sys/sysctl.h>
#include <machine/clock.h>
#define _COMPONENT ACPI_IBM
#define _COMPONENT ACPI_OEM
ACPI_MODULE_NAME("IBM")
#define IBM_RTC_MISCKEY 0x65

View file

@ -40,6 +40,9 @@ __FBSDID("$FreeBSD$");
#include "acpi.h"
#include <dev/acpica/acpivar.h>
#define _COMPONENT ACPI_OEM
ACPI_MODULE_NAME("Panasonic")
/* Debug */
#undef ACPI_PANASONIC_DEBUG

View file

@ -35,9 +35,14 @@
#include <sys/module.h>
#include <dev/acpica/acpivar.h>
#include <sys/sysctl.h>
#define _COMPONENT ACPI_OEM
ACPI_MODULE_NAME("Sony")
#define ACPI_SONY_GET_BRIGHTNESS "GBRT"
#define ACPI_SONY_SET_BRIGHTNESS "SBRT"
#define ACPI_SONY_GET_PID "GPID"
/*
* SNY5001
* [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN

View file

@ -37,6 +37,9 @@ __FBSDID("$FreeBSD$");
#include "acpi.h"
#include <dev/acpica/acpivar.h>
#define _COMPONENT ACPI_OEM
ACPI_MODULE_NAME("Toshiba")
/*
* Toshiba HCI interface definitions
*

View file

@ -151,8 +151,7 @@ extern struct mtx acpi_mutex;
#define ACPI_PROCESSOR 0x00800000
#define ACPI_THERMAL 0x01000000
#define ACPI_TIMER 0x02000000
#define ACPI_ASUS 0x04000000
#define ACPI_IBM 0x08000000
#define ACPI_OEM 0x04000000
/*
* Constants for different interrupt models used with acpi_SetIntrModel().