diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-16 01:07:24 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-16 01:07:24 +0000 |
commit | 95db6b748fc86297827fbd9c9ef174d491c9ad89 (patch) | |
tree | 27a92a942821cde1edda9a1b088718d436b3efe4 /include/linux/acpi.h | |
parent | 45b27b0a0652331d104c953a5b192d843fff88f8 (diff) |
Merge with Linux 2.3.40.
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index f2f655150..c96ef3283 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -356,6 +356,8 @@ enum ACPI_GPE_LEVEL, ACPI_EVENT, ACPI_P_BLK, + ACPI_ENTER_LVL2_LAT, + ACPI_ENTER_LVL3_LAT, ACPI_P_LVL2_LAT, ACPI_P_LVL3_LAT, ACPI_S0_SLP_TYP, @@ -401,4 +403,32 @@ enum #define ACPI_PIIX4_PMREGMISC 0x80 #define ACPI_PIIX4_PMIOSE 0x01 +/* + * VIA-specific ACPI info (for systems with VT82C586B but no ACPI tables) + */ + +#define ACPI_VIA_INT_MODEL 0x00 + +#define ACPI_VIA_SMI_CMD 0x002f +#define ACPI_VIA_ACPI_ENABLE 0xa1 +#define ACPI_VIA_ACPI_DISABLE 0xa0 + +#define ACPI_VIA_PM1_EVT 0x0000 +#define ACPI_VIA_PM1_CNT 0x0004 +#define ACPI_VIA_PM_TMR 0x0008 +#define ACPI_VIA_GPE0 0x0020 +#define ACPI_VIA_P_BLK 0x0010 + +#define ACPI_VIA_PM1_EVT_LEN 0x04 +#define ACPI_VIA_PM1_CNT_LEN 0x02 +#define ACPI_VIA_PM_TM_LEN 0x04 +#define ACPI_VIA_GPE0_LEN 0x04 + +#define ACPI_VIA_DUTY_OFFSET 1 +#define ACPI_VIA_DUTY_WIDTH 3 + +#define ACPI_VIA_DAY_ALARM 0x7d +#define ACPI_VIA_MON_ALARM 0x7e +#define ACPI_VIA_CENTURY 0x7f + #endif /* _LINUX_ACPI_H */ |