Files
lm-sensors/kernel
Jean Delvare 567c1e3e3a i2c-ali1563: Fix device initialization (backported from Linux 2.6)
The i2c-ali1563 initialization looks quite broken to me:
* If the I/O space isn't enabled, we forcibly set 3 bits in
  the PCI configuration space instead of just the one enabling
  the I/O space.
* After that we pretend to check if the write worked, but we
  don't actually read the new value from the register.
* It's probably not a good idea to enable the I/O space if no
  base address has been set.

So I propose the following changes to that part of the driver:
* Merge ali1563_enable() into ali1563_setup().
* Check the base address before the I/O space enabled bit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4324 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:42:43 +00:00
..
2007-02-15 10:17:37 +00:00
2005-02-07 19:58:57 +00:00
…