From 01bf598239d8e754e7e44bdd705c0cf753295e18 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 15 May 2001 02:45:02 +0000 Subject: [PATCH] add maxilife-nba support to libsensors. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1089 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 3 ++- lib/chips.c | 2 ++ lib/chips.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 6fd687c1..c634e15b 100644 --- a/CHANGES +++ b/CHANGES @@ -32,7 +32,8 @@ ask CVS about it: File sensors.c: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. Include file i2c-isa.h: No longer required, moved to i2c.h in i2c package Include file sensors.h: Most contents moved to i2c-proc.h in i2c package - Library: Fix/standardize some lm87 and mtp008 entries, add sis5595 in4 + Library: Fix/standardize some lm87 and mtp008 entries; add sis5595 in4; + Add support for maxilife-nba. Chip Modules (all ISA): Remove #include "i2c-isa.h" Module adm1021: Fix lm84 and gl523sm support Module i2c-i801: Chip detection cleanup diff --git a/lib/chips.c b/lib/chips.c index 924b361a..f4781a62 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -2060,6 +2060,8 @@ sensors_chip_features sensors_chip_features_list[] = { SENSORS_MAXI_CG_PREFIX, maxi_cg_features }, { SENSORS_MAXI_CO_PREFIX, maxi_co_features }, { SENSORS_MAXI_AS_PREFIX, maxi_as_features }, + /* Cheat on NBA for now - no separate #defines */ + { SENSORS_MAXI_NBA_PREFIX, maxi_as_features }, { SENSORS_THMC50_PREFIX, thmc50_features }, /* Cheat on ADM1022 for now - no separate #defines */ { SENSORS_ADM1022_PREFIX, thmc50_features }, diff --git a/lib/chips.h b/lib/chips.h index b80ea4cb..5f878de8 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -586,6 +586,7 @@ #define SENSORS_MAXI_CG_PREFIX "maxilife-cg" #define SENSORS_MAXI_CO_PREFIX "maxilife-co" #define SENSORS_MAXI_AS_PREFIX "maxilife-as" +#define SENSORS_MAXI_NBA_PREFIX "maxilife-nba" #define SENSORS_MAXI_CG_FAN1 1 /* R */ #define SENSORS_MAXI_CG_FAN2 2 /* R */