Commit Graph
715 Commits
Author SHA1 Message Date
Mark D. Studebaker b5e2fb9803 backport from kernel 2.5.69. tested OK.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1756 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-04 02:41:15 +00:00
Mark D. Studebaker 7bce574327 get i2c-viapro working again by backporting from
kernel 2.5.69 and adding new sensors_compat.h for the
      drv_dbg(), etc. calls


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1754 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-03 02:05:18 +00:00
Mark D. Studebaker bbdef07b0e add 791D sysctls; IN9, FAN4, FAN5
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1753 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-02 23:44:58 +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
Mark D. Studebaker 41e0c48a84 fix symbol error, finish implementation of PCI module init.
doesn't work for me yet though.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1749 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 18:50:50 +00:00
Mark D. Studebaker ece019f16a fix removal of old sensors.o module, now uses MODPREF rather
than MODDIR


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1747 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 15:48:28 +00:00
Mark D. Studebaker 2436f40201 libsensors support for w83791d; patch from
Ross Biro rossb@google.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1741 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 01:00:23 +00:00
Mark D. Studebaker 51b011307c Patch from Philip Pokorny
This patch fixes a race condition in the lm85 driver and adds support for the
SMC EMC6D100 and EMC6D101.  The EMC6D100 and 101 chips have some additional
features that *are not* currently implemented in the driver, but the chip is
detected (by sensors-detect and the lm85 driver).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1740 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 00:24:07 +00:00
Mark D. Studebaker 1bdaa54d40 add support for AMD Opteron VID encoding
patch from Philip Pokorny


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1738 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-30 00:55:23 +00:00
Mark D. Studebaker 26fdf01fed fix bug with tempn_over and tempn_hyst writes - ticket 1219
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1737 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-20 02:06:56 +00:00
Mark D. Studebaker 16f2cd86e7 cleanup part 2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1730 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 03:13:28 +00:00
Mark D. Studebaker c2f08d613a my cleanup, conversion to new standards, compile fixes
(initial checkin was as received from Philip)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1728 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:54:32 +00:00
Mark D. Studebaker 3388f7cf73 add lm85
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1727 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:34:49 +00:00
Mark D. Studebaker bd256e9552 lm85 patch from Philip Pokorny <ppokorny@penguincomputing.com>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1726 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:34:10 +00:00
Mark D. Studebaker a0a2e78c8a spelling fixes from Philip Pokorny
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1723 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:01:35 +00:00
Mark D. Studebaker 27655c241f add back i2c_xxxx_func prototypes inadvertently removed which prevented compile
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1721 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 01:39:57 +00:00
Mark D. Studebaker 42ce50ea40 fix compile error when DEBUG=1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1720 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 01:32:56 +00:00
Mark D. Studebaker 6aa045fc8e add i2c-nforce2 driver, from
Hans-Frieder Vogt <hfvogt@arcor.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1712 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-17 01:28:56 +00:00
Mark M. Hoffman f5360dc279 (Re)added missing <ioport.h>.
Now compiles correctly w/ versioned symbols.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1709 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-31 04:00:33 +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 2a462eaae3 set alarm bits on read fails
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1695 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-13 02:15:20 +00:00
Mark D. Studebaker f6610c0394 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, version.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1694 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 18:50:38 +00:00
Mark D. Studebaker 012b4f58a2 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, init printk, and
      compile #error if i2c is too old.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1693 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 18:41:24 +00:00
Mark D. Studebaker 7317fde62b backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, sensors.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1692 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 17:53:12 +00:00
Mark D. Studebaker 954cd402d6 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, sensors.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1691 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 17:43:15 +00:00
Mark D. Studebaker 8ddee6dd5c better handling of read errors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1689 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 16:00:57 +00:00
Mark D. Studebaker 3978a26e03 correct functionality detection for i2c block
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1688 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 05:53:15 +00:00
Mark D. Studebaker cf1876bb08 modules now install in kernel/drivers/i2c/[busses,chips];
remove old versions in kernel/drivers/[i2c,sensors].


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1687 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 05:27:13 +00:00
Mark D. Studebaker 454e70e79a use i2c block reads if that functionality is available.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1686 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 01:33:34 +00:00
Mark D. Studebaker 1286132218 cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1685 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 01:05:27 +00:00
Mark D. Studebaker b316273d00 Don't return bad values if reads fail
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1684 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-04 20:21:22 +00:00
Mark D. Studebaker bd4049d06e update and standardize PWM support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1679 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-21 21:05:48 +00:00
Mark D. Studebaker 474887fc3e new w83627hf/697hf ISA driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1672 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-15 04:37:39 +00:00
Mark D. Studebaker b71c744437 explicity set the direction of the pins to inputs on read;
this should fix the problems for 810 folks. Untested;
      checking in for people to test.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1669 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-09 04:24:34 +00:00
Mark D. Studebaker 265347c099 more 2.2 fixes from Vojtech
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1662 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-04 02:52:36 +00:00
Mark D. Studebaker 92aa2a384a another 2.2 fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1661 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-04 02:30:49 +00:00
Mark D. Studebaker eff5784a1a patch from Vojtech on _PEC variants
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1660 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-03 02:59:45 +00:00
Mark D. Studebaker 214c6d852e removed #include bootmem.h which isn't in 2.2 kernels;
wasn't needed anyway


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1659 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-03 02:56:10 +00:00
Mark D. Studebaker 3467ff5106 compile fixes for i2c-amd8111.c, and add support in mkpatch.
Patch from
            Vojtech Pavlik <vojtech@suse.cz>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1658 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-01 21:30:13 +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 39d845c73b Patch from
Vojtech Pavlik <vojtech@suse.cz>
      Implemented/fixed PEC and process calls, and block reads/writes in
      the driver. ARP now works with smbus-arp.c.
      Removed attempt at 2.2 support. Module doesn't work w/ 2.2 kernels.
      Added check in Module.mk so it won't compile unless CONFIG_X86_64.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1656 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-30 20:14:48 +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 9e99f3c49d put a big fat error if no i2c-2.7.0 (this is the first
compiled file that would have an error), hopefully cut
      down on tickets when 2.7.0 comes out


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1652 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-27 19:54:53 +00:00
Mark D. Studebaker ad2705bd37 add warnings that it doesn't work at all yet
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1647 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-26 00:42:37 +00:00