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 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
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
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
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
6306bbecca
enable if not enabled (remove force parameter), check for
...
uninitialized base address; remove compilation warning
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1490 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-10 18:29:40 +00:00
Mark D. Studebaker
7bea75ba2b
For HW PEC (read and writes), turn on AAC but not PEC_EN.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1459 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-18 00:45:43 +00:00
Mark D. Studebaker
ecc5086d39
use HW instead of SW PEC for ICH4
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1444 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-11 02:24:28 +00:00
Mark D. Studebaker
7ff02877fc
fix block w/ PEC termination
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1399 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-16 19:42:16 +00:00
Mark D. Studebaker
f6cb8f2457
remove DEBUG 1
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1395 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 23:11:29 +00:00
Mark D. Studebaker
bf992c322b
ich4 software pec support. Still cleanups to be done but enough for ARP.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1391 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 02:53:33 +00:00
Mark D. Studebaker
356bfd550f
add KERN_xxx to printk's
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1387 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-08 19:31:05 +00:00
Mark D. Studebaker
446b758ca1
add 82801DB (ICH4) support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1382 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-07 02:56:52 +00:00
Mark D. Studebaker
7bd97f4667
Add MODULE_LICENSE("GPL") to all modules
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1201 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 17:48:43 +00:00
Mark D. Studebaker
1deacfd781
add support for Intel 82801CA/CAM to i2c-i801
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1197 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-07 02:18:25 +00:00
Mark D. Studebaker
d5de6847ab
change ...82801BA_3 to ...82801BA_2 because that's what it was
...
named in kernel 2.4.6, which broke detection for that chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1142 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-20 01:20:22 +00:00
Mark D. Studebaker
377be956da
PCI chip detection cleanup.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1011 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 20:48:43 +00:00
Mark D. Studebaker
457efe73b7
add correct ifdef'ed declaration of i2c_i801_init() to remove
...
external symbol.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@990 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-13 17:54:36 +00:00
Mark D. Studebaker
a8cf5cbfa2
(mds) add i2c- prefix to module name in version/date printk for those
...
that were missing it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@949 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 00:50:18 +00:00
Mark D. Studebaker
879bcdc859
(mds) smbus block write fixes, i2c block write support from Rickard Westman.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@856 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-08-12 16:33:25 +00:00
Mark D. Studebaker
cb24789105
(mds) add support for Intel 82801BA ICH2 (815E chipset).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@849 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-21 23:52:28 +00:00
Frodo Looijaard
6a2c82b491
`indent -kr -i8' on all kernel sources
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@707 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:37:01 +00:00
Frodo Looijaard
888d32f50b
Removing kernel 2.0 and 2.1 compatibility pass 2
...
Eliminated compat.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@705 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:07:29 +00:00
Frodo Looijaard
9480bb5988
Removal of kernel 2.1 and 2.2 compatibility: pass one
...
Removed many #if statements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@704 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 19:30:08 +00:00
Mark D. Studebaker
136a65eede
(mds) change my email addr.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@689 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:53:46 +00:00
Frodo Looijaard
5059c482fd
Just to make sure, added `#include <linux/version.h>' at several
...
other places.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@645 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:48:34 +00:00
Frodo Looijaard
7d9d543593
Better 10-bit addresses support changes
...
* Enlarged addresses from 8 to 16 bits at some places.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@586 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 16:30:42 +00:00
Frodo Looijaard
52781e50b4
Preparations for better 10-bit address support
...
Updated for the changes in i2c_smbus_* functions
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@585 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 16:01:24 +00:00
Frodo Looijaard
e9ac105d87
`functionality' support for all bus drivers
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@583 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 13:49:29 +00:00
Frodo Looijaard
d1e26d5f16
mkpatch updates
...
* mkpatch now correctly works when kernel-side files do not yet exist.
I forgot to propagate a change in the i2c version.
* __init* handling in mkpatch and compat.h
* New i801 defines added to mkpatch
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@545 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-03 11:11:03 +00:00
Mark D. Studebaker
3ec3b3f98d
(mds) Added block read/write support. Much different than piix4.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@537 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-26 00:39:34 +00:00
Mark D. Studebaker
503b502bb1
(mds) Add i801 bus driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@528 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-17 01:19:20 +00:00