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)
commit475ef85512900dcb87435e13656c1f5e724de379
tree21a831861be0ae4253e75baa74b741d73a5797e5
parent1ea6dd3840e5a22924d78299fee018c82e425d80
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