diff options
author | Oleg Safiullin <form@cvs.openbsd.org> | 2008-10-22 05:38:18 +0000 |
---|---|---|
committer | Oleg Safiullin <form@cvs.openbsd.org> | 2008-10-22 05:38:18 +0000 |
commit | ed46a726cff0f162f368f9f270893bea80f2ff35 (patch) | |
tree | 483f8760e23ea62c5a19465054e4dc1d78dc8428 /sys/dev/isa/itvar.h | |
parent | d2886c1b1255366e08feffe69474e5cb41d33f02 (diff) |
o add FAN4 and FAN5 sensors for IT8716/8718/8726
o always use 16-bit FAN counters for IT8716/8718/8726
o do not try to poll sensors disabled by BIOS
o sync VIN5 & VIN6 sensors description w/ ITE docs
tested by naddy@ weerd@
Diffstat (limited to 'sys/dev/isa/itvar.h')
-rw-r--r-- | sys/dev/isa/itvar.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/sys/dev/isa/itvar.h b/sys/dev/isa/itvar.h index 06e11e00e1f..665b0c653ff 100644 --- a/sys/dev/isa/itvar.h +++ b/sys/dev/isa/itvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: itvar.h,v 1.10 2008/10/08 15:06:49 form Exp $ */ +/* $OpenBSD: itvar.h,v 1.11 2008/10/22 05:38:17 form Exp $ */ /* * Copyright (c) 2007-2008 Oleg Safiullin <form@pdp-11.org.ru> @@ -31,7 +31,7 @@ #define _DEV_ISA_ITVAR_H_ #define IT_EC_INTERVAL 5 -#define IT_EC_NUMSENSORS 15 +#define IT_EC_NUMSENSORS 17 #define IT_EC_VREF 4096 #define IO_IT1 0x2e @@ -61,14 +61,25 @@ #define IT_EC_CFG 0x00 #define IT_EC_FAN_DIV 0x0b -#define IT_EC_FAN_ECR 0x0c -#define IT_EC_FANBASE 0x0d -#define IT_EC_FANEXTBASE 0x18 +#define IT_EC_FAN_ECER 0x0c +#define IT_EC_FAN_TAC1 0x0d +#define IT_EC_FAN_TAC2 0x0e +#define IT_EC_FAN_TAC3 0x0f +#define IT_EC_FAN_MCR 0x13 +#define IT_EC_FAN_EXT_TAC1 0x18 +#define IT_EC_FAN_EXT_TAC2 0x19 +#define IT_EC_FAN_EXT_TAC3 0x1a #define IT_EC_VOLTBASE 0x20 #define IT_EC_TEMPBASE 0x29 +#define IT_EC_ADC_VINER 0x50 +#define IT_EC_ADC_TEMPER 0x51 +#define IT_EC_FAN_TAC4_LSB 0x80 +#define IT_EC_FAN_TAC4_MSB 0x81 +#define IT_EC_FAN_TAC5_LSB 0x82 +#define IT_EC_FAN_TAC5_MSB 0x83 #define IT_EC_CFG_START 0x01 -#define IT_EC_INT_CLEAR 0x08 +#define IT_EC_CFG_INTCLR 0x08 #define IT_EC_CFG_UPDVBAT 0x40 #define IT_WDT_LDN 0x07 |