]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon/w83627ehf: Add error messages for two error cases
authorDavid Hubbard <david.c.hubbard@gmail.com>
Sun, 24 Jun 2007 09:17:09 +0000 (11:17 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:17 +0000 (14:22 -0400)
commit0e68f76a9d41653c1d9b5d65610b14889c8fd828
tree21a831861be0ae4253e75baa74b741d73a5797e5
parent56eec0b6ea5718069c0fcc7ba9d86eee5e0c7b24
hwmon/w83627ehf: Add error messages for two error cases

If the Super-I/O device is disabled, it is likely the BIOS has a good
reason for leaving it disabled, so give a warning when enabling it --
it's not likely to be wired correctly or be able to give good data.

Also, if the Super-I/O device is configured with an address of 0, the
driver refuses to initialize it.

Signed-off-by: David Hubbard <david.c.hubbard@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627ehf.c