mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
93c22173bd
commit
276cd9216d
7 changed files with 16 additions and 4 deletions
|
|
@ -109,6 +109,8 @@ The supported layers are:
|
|||
.It
|
||||
.Li ACPI_FAN
|
||||
.It
|
||||
.Li ACPI_OEM
|
||||
.It
|
||||
.Li ACPI_POWER
|
||||
.It
|
||||
.Li ACPI_PROCESSOR
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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().
|
||||
|
|
|
|||
Loading…
Reference in a new issue