Commit Graph
21 Commits
Author SHA1 Message Date
Mark M. Hoffman e035136982 Added utility function i2c_delay(1), to replace various "do_pause"
(mmh) functions in bus drivers.  Backported from the 2.6 work of Greg KH.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1936 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:11:58 +00:00
Mark M. Hoffman 8598dba3b6 Revise detection strategy (again) so that the driver claims the
SMBus pci device only - instead of also claiming the south bridge.
      Although no problems had been reported with the previous detection
      strategy, this change avoids the class of problems mentioned here:

      http://archives.andrew.net.au/lm-sensors/msg03193.html

As a side benefit, it now looks much more like its sibling in 2.5.7x.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1893 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-21 23:13:08 +00:00
Jean Delvare 2db3917eac Fixed a compiler warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1817 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-27 16:11:45 +00:00
Mark M. Hoffman 35c08c894e Added missing PCI ID for 746. Also added comments noting in
(mmh) which release (> 2.4.9) the IDs were defined, if any.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1804 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 17:01:59 +00:00
Mark M. Hoffman d78cd69dd7 Added recognition of SiS746 host bridge.
(mmh) Addressed some trivial compiler warnings.
(mmh) Updated documentation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1793 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-17 05:17:02 +00:00
Mark M. Hoffman f525a97656 added missing #include <linux/mm.h>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1786 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-12 03:29:38 +00:00
Mark M. Hoffman 3d54042d27 Added support for SiS745 north bridge.
Patch and testing by Rudolf Marek

(mmh) Also added missing declaration for SiS963 support - my bad.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1752 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 22:22:16 +00:00
Mark M. Hoffman ec909108b7 Added support for SiS963 south bridge.
Testing by Brad Barnett


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1751 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 21:33:32 +00:00
Mark M. Hoffman caf6b6140e Added support for SiS651 north bridge.
Patches and testing by Chris King and Norbert Roos


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1750 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 20:23:13 +00:00
Kyosti Malkki 124c706b61 (Kyösti) Clean PCI IDs already defined for 2.4.9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1708 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-23 23:24:05 +00:00
Kyosti Malkki 1cfe63804a (Kyösti) Cleanups
Copy sysctl enums to chip drivers from sensors.h for now,
   as seen in drivers included in 2.5 tree. File no longer included
   from kernel side.

   Apply i2c-proc change in CVS tagged -km2.

   Partial clean and sort of includes everywhere.

   Add i2c-dev.h, as a partial copy from i2c.
   Add to sensors.h from i2c-proc.h to compile things.
   Remove i2c-isa.h.

   Reflect header file changes to lib/ and prog/.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Mark M. Hoffman d2e650b473 Removed some redundant pci_find_device calls.
Cleaned up kernel log messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1704 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 04:53:16 +00:00
Mark M. Hoffman 8a1cb244f2 Added support for SiS648/961 and SiS645DX/962.
Added IDs to PCI driver id table.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1700 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-20 06:05:39 +00:00
Kyosti Malkki 39391ba6ea (Kyösti) some cleanups for 2.4+
Module refcounting using .owner, removing of inc/dec_use.
   These require (yet unreleased) i2c 2.8.0+.

   Named initializers everywhere. Unified namespace.

   Cleanup for 2.5, remove EXPORT_NO_SYMBOLS, declare everything
   static. Apply initcalls.

   PCI device registration changes for busses started, replicating
   from i2c-amd*. While everything does compile, nothing really
   works. Well, maybe i2c-amd* ported back from 2.5 tree.

   After updating your work directory, run
    > cvs diff -u -r LAST-PRE-2-8-I2C > lm-2.8-patches-1

   BEWARE: I have not even insmoded any of these yet.

   To compile, you need i2c from cvs too.
   For 2.4 kernel :
    > cvs co -r lk2-4 i2c

   For 2.5 kernel :
    > cvs co i2c


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1698 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-17 01:19:52 +00:00
Mark D. Studebaker 01e6b327ed compile fix for 2.2 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1657 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-01 21:02:46 +00:00
Mark D. Studebaker 1b74956ae0 handle 2.2 kernels void request_region()
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1655 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-28 19:57:23 +00:00
Mark D. Studebaker deb1793ab5 remove #ifndef for ID, 2.7.0 release will require i2c-2.7.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1623 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 21:04:40 +00:00
Mark M. Hoffman 62578497a3 Bugfix - now killing a transaction properly.
(found by Hans-Günter Lütke Uphues)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1554 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 07:17:02 +00:00
Mark M. Hoffman df1f4dfd67 Added support for SiS650/961 chipset.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1552 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 01:33:36 +00:00
Mark M. Hoffman 799093a74d improved support for SiS645/961
added support for SiS645DX/961 and SiS735


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1531 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:17:09 +00:00
Mark M. Hoffman 9b60b4787b new SiS645 SMBus driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1516 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:18:49 +00:00