diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-02-05 19:58:36 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-02-05 19:58:36 +0100 |
commit | 197027e6ef830d60e10f76efc8d12bf3b6c35db5 (patch) | |
tree | 17e0b7b409165ef85cae8b55b86534606dfa4fe2 /fs/sysfs | |
parent | 85f8d3e5faea8bd36c3e5196f8334f7db45e19b2 (diff) |
hwmon: (lm78) Request I/O ports individually for probing
Different motherboards have different PNP declarations for LM78/LM79
chips. Some declare the whole range of I/O ports (8 ports), some
declare only the useful ports (2 ports at offset 5) and some declare
fancy ranges, for example 4 ports at offset 4. To properly handle all
cases, request all ports individually for probing. After we have
determined that we really have an LM78 or LM79 chip, the useful port
range will be requested again, as a single block.
This fixes the driver on the Olivetti M3000 DT 540, at least.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions