Commit Graph
261 Commits
Author SHA1 Message Date
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
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 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 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 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
Mark D. Studebaker 91d6c425d1 change algo-bit timeout from a number to a HZ
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1645 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-24 05:45:28 +00:00
Mark D. Studebaker c2fc5cd412 sync w/ kernel 2.4.20 changes - remove POLLED_MODE patch
from BK (from benh@crashing.org)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1643 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-22 06:51:19 +00:00
Mark D. Studebaker 90f78c4acf remove typo (sync w/ kernel 2.4.19)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1642 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-22 06:39:14 +00:00
Mark D. Studebaker 990c9d733a only compile dmi_scan if X86
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1639 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-21 23:42:17 +00:00
Mark D. Studebaker 5d2f13b9c3 support multiple clients; guard against clients vanishing
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1634 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-21 01:32:35 +00:00
Mark D. Studebaker 1103f06587 better printk's
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1632 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-20 17:39:19 +00:00
Alexander Malysh 8be74507cc added i2c-sis630/i2c-sis645 into mkpatch
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1631 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-20 01:28:58 +00:00
Alexander Malysh fc1716194b fixed logic by restoring of Host Master Clock
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1630 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-20 00:15:02 +00:00
Mark D. Studebaker e1d2d03e8e #ifdef the error printk
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1625 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-19 20:13:25 +00:00
Mark D. Studebaker 264b968cbe remove #ifndef ID, require i2c-2.7.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1624 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 21:06:16 +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 D. Studebaker 1f8bcb3289 ipmi ipmb support. Not even close to working yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1617 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-17 21:03:39 +00:00
Mark D. Studebaker 3929e57a5b amd8111 support, patch from
+* Vojtech Pavlik <vojtech@suse.cz>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1616 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-17 19:44:46 +00:00
Mark D. Studebaker d999488cd1 BMC cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1615 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 19:40:06 +00:00
Mark D. Studebaker c3bf0727f0 8235 take 2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1595 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 20:47:30 +00:00
Mark D. Studebaker fc4b1359e7 add support for VT8235. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1594 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 20:10:14 +00:00
Mark D. Studebaker 7bcd435c4c initial checkin IPMI/BMC support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1593 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 19:52:44 +00:00
Jean Delvare 1c48b4e402 Apply dmi_scan fixes from Linux kernel 2.5.43
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1582 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-07 13:56:54 +00:00
Mark D. Studebaker 4a4f650caf remove 2-line string in MODULE_AUTHOR. Ticket 1043.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1572 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-05 03:34:32 +00:00
Mark D. Studebaker 950186ae55 for nForce, change from static base address to reading base
from 0x14 (contributed by
        Michael Steil <mist@c64.org> from the xbox team and
        yrsh2scp@mbox.nc.kyushu-u.ac.jp (Yoshifumi R. Shimizu);
      also check for uninitialized base address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1562 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-12 16:34:12 +00:00
Mark D. Studebaker d1da546a09 add support for 8233A PCI ID 0x3177. Tested by user in ticket #1017.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1558 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-12 00:56:49 +00:00
Alexander Malysh 4150b4030a fixed the same bug as by i2c-sis645 (kill smbus transaction)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1555 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 10:13:07 +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
Alexander Malysh 564dbecad2 Fixed typo in sis630_access.
Fixed logical error by restoring of Host Master Clock


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1551 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-24 10:50:31 +00:00
Mark D. Studebaker 0d434f6e0b rename dmi_scan_machine() to dmi_scan_mach() to avoid collision
with kernel - ticket #1002


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1541 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-21 20:30:05 +00:00
Alexander Malysh faa57a4ef4 (amalysh)
Added high_clock module option.If this option is set
        used Host Master Clock 56KHz (default 14KHz).For now we are save old Host
        Master Clock and after transaction completed restore (otherwise
        it's confuse BIOS and hung Laptop).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1540 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-21 00:05:37 +00:00
Alexander Malysh 7e6dbdb292 log entry for support sis730
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1538 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 21:45:58 +00:00
Alexander Malysh 4771c4318b added sis730 as supported device
as of info from Philip Edelbrock <phil@netroedge.com>
My Info:
	pci device id 6300 is Intergrated VGA for sis630/730 chips
	(see http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/identify/picture/sis.html)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1536 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 21:14:08 +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