summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-04-01 15:55:49 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 15:55:49 -0700
commit0a550150a43ec8dfe49171e9e736e6d7b8b7fa8b (patch)
tree9c51f78dc029f02355356f9320aaf182e17747c6 /fs
parente4f176e9356dcd7155d91456b4d8e2fe1b85edbe (diff)
hwmon: (w83781d) Request I/O ports individually for probing
commit b0bcdd3cd0adb85a7686b396ba50493871b1135c upstream. Different motherboards have different PNP declarations for W83781D/W83782D 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 a W83781D or W83782D chip, the useful port range will be requested again, as a single block. I did not see a board which needs this yet, but I know of one for lm78 driver and I'd like to keep the logic of these two drivers in sync. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions