X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4fb81ad02399f6fe21e0b1b050aeb2f82f2b3fde..3c2c3b0dd358924410d12f8a71b5fee7a3f02e83:/include/reg-82801b.h diff --git a/include/reg-82801b.h b/include/reg-82801b.h index ee24c0e..4e116c2 100644 --- a/include/reg-82801b.h +++ b/include/reg-82801b.h @@ -29,6 +29,24 @@ #define ICH2_LPC_PCI_MON7_TRP_RNG 0xCA #define ICH2_LPC_PCI_MON_TRP_MSK 0xCC +#define ICH2_PMBASE_PM1_STS 0x00 +#define ICH2_PM1_STS_WAK_STS (1 << 15) +#define ICH2_PM1_STS_PRBTNOR_STS (1 << 11) +#define ICH2_PM1_STS_RTC_STS (1 << 10) +#define ICH2_PM1_STS_PWRBTN_STS (1 << 8) +#define ICH2_PM1_STS_GBL_STS (1 << 5) +#define ICH2_PM1_STS_BM_STS (1 << 4) +#define ICH2_PM1_STS_TMROF_STS (1 << 0) + +#define ICH2_PMBASE_PM1_EN 0x02 +#define ICH2_PM1_EN_RTC_EN (1 << 10) +#define ICH2_PM1_EN_PWRBTN_EN (1 << 8) +#define ICH2_PM1_EN_GBL_EN (1 << 5) +#define ICH2_PM1_EN_TMROF_EN (1 << 0 + +#define ICH2_PMBASE_PM1_TMR 0x08 +#define ICH2_PM1_TMR_FREQ 3579545 /* This will be the encryption key for a question on the test. */ + #define ICH2_PMBASE_SMI_EN 0x30 #define ICH2_SMI_EN_PERIODIC_EN (1 << 14) #define ICH2_SMI_EN_TCO_EN (1 << 13)