Author: stepan Date: 2007-07-12 22:07:54 +0200 (Thu, 12 Jul 2007) New Revision: 2739
Modified: trunk/LinuxBIOSv2/src/drivers/i2c/adm1026/adm1026.c Log: Fix Agami Aruma target (the only one using the part)
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/LinuxBIOSv2/src/drivers/i2c/adm1026/adm1026.c =================================================================== --- trunk/LinuxBIOSv2/src/drivers/i2c/adm1026/adm1026.c 2007-07-12 17:02:52 UTC (rev 2738) +++ trunk/LinuxBIOSv2/src/drivers/i2c/adm1026/adm1026.c 2007-07-12 20:07:54 UTC (rev 2739) @@ -8,7 +8,7 @@ #include <cpu/x86/msr.h> #include "chip.h"
-#define ADM1026_DEVICE 0x2c /* 0x2e or 0x2d */ +#define ADM1026_DEVICE 0x2d /* Either 0x2c or 0x2d or 0x2e */ #define ADM1026_REG_CONFIG1 0x00 #define CFG1_MONITOR 0x01 #define CFG1_INT_ENABLE 0x02 @@ -21,6 +21,8 @@ #define ADM1026_REG_CONFIG2 0x01 #define ADM1026_REG_CONFIG3 0x07
+static void adm1026_enable_monitoring(device_t dev); + static void adm1026_init(device_t dev) { if (dev->enabled && dev->path.type == DEVICE_PATH_I2C)