Mark D. Studebaker
39faf50b41
add support for CSB6 based on confirmation in ticket #1424
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Alexander Malysh
b1986134c3
(amalysh)
...
* i2c-sis630.c: sync with 2.6.0-X driver version
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2014 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 11:45:04 +00:00
Mark M. Hoffman
76c05536bf
Use readl/writel for portable access to PCI memory
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1996 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-22 04:55:10 +00:00
Jean Delvare
bb89ea05e3
Force CPCI735 bug workaround (patch by Tom Rini).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1961 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:28:42 +00:00
Mark M. Hoffman
69ef356b2c
Prevent buffer overrun during SMBus Block Read when client responds
...
(mmh) with illegal read size. Patch by Sergey Vlasov <vsu@altlinux.ru >.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1940 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 03:11:40 +00:00
Mark M. Hoffman
9791b06ae5
Fixes backported from 2.6 work by Greg KH:
...
(mmh) o remove devinitdata marking from i2c-nforce2.c as it's wrong
(mmh) o minor cleanups to the i2c-nforce2 driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1938 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:32:01 +00:00
Mark M. Hoffman
5b720a247d
Fixed resource leak - patch by Daniele Bellucci <bellucda@tiscali.it>
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1937 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:19:49 +00:00
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
Jean Delvare
e4f94587c8
Remove 2.2 kernel compatibility macro.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1931 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-31 12:56:35 +00:00
Alexander Malysh
bb6298c2f2
added block data read/write support. Minor cleanup.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1926 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 22:35:17 +00:00
Alexander Malysh
1843d33fb7
Fixed sis630 detection. We need ISA brigde and not the pci device
...
supplied by pci-core. Tickets #1350 and #1351 should be closed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1925 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 20:40:27 +00:00
Jean Delvare
f7b40f84b3
Fix includes for compilation on Alpha.
...
Patch by Kelledin.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1912 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-28 09:57:11 +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
Mark D. Studebaker
e372b78cc5
don't use pci_module_init() for video i2c drivers so we don't
...
conflict with video drivers
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1833 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-03 01:30:13 +00:00
Jean Delvare
abec4c64eb
Fixed a compiler warning, plus some code clean-ups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1818 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-27 16:15:24 +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 D. Studebaker
06ea29ef6c
-Wall cleanup (returns in probe functions)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1814 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-23 01:21:04 +00:00
Mark D. Studebaker
e9f1938938
restore functionality call that shouldn't have been removed
...
in cleanup. Dummy adapters must return 0, otherwise they
will get assigned every functionality!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1812 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-23 00:56:25 +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 D. Studebaker
7e8d8dc3c7
-Wall cleanups
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1803 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 16:17:02 +00:00
Mark M. Hoffman
f016bf233d
Added a handful of blacklist PCI IDs.
...
(mmh) Fixed a trivial compiler warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1795 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-18 05:26:38 +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 D. Studebaker
b24442eed8
remove old gzipped modules;
...
remove old misc directory if empty
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1787 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-14 19:25:19 +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 D. Studebaker
79adb8ba49
check for invalid transaction type
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1778 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-10 01:07:54 +00:00
Mark D. Studebaker
8234f8c58a
add support for 82801EB (ICH5) 0x24d3
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1775 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 21:05:58 +00:00
Jean Delvare
c4666742ca
Added missing device IDs, required for compiling with Linux kernel
...
2.4.18 and previous (VIA_8233A and INTEL_82801DB_3).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1773 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 17:21:54 +00:00
Mark D. Studebaker
01ea959a80
populate pci_device_id table. untested.
...
Took out the force code which may need to be put back in somehow.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1769 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-07 20:05:10 +00:00
Mark D. Studebaker
182261f671
populate pci_device_id tables so the module will load. untested.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1768 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-07 19:53:21 +00:00
Mark D. Studebaker
fcc2041d20
populate pci_device_id table. untested.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1765 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-06 02:11:21 +00:00
Mark D. Studebaker
84718f8ff2
partial backport from 2.5.69. Populated the pci_device_id table;
...
left the dmi_scan stuff in there. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1764 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-06 01:51:06 +00:00
Mark D. Studebaker
4302318201
backport from kernel 2.5.69. untested.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1763 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-06 01:49:49 +00:00
Mark D. Studebaker
c858140e89
version printk cleanup
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1762 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-06 01:45:51 +00:00
Mark M. Hoffman
142689feb3
Fix trivial compile errors when using DEBUG := 1
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1757 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-04 04:56:51 +00:00
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 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
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
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