Commit Graph
12 Commits
Author SHA1 Message Date
Jean Delvare 1756f8d8dd Drop unused client id.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2867 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-23 18:02:43 +00:00
Jean Delvare 7683ac84a4 Restore controlling_mod argument to i2c_register_entry(). This
is needed to properly lock chip drivers in memory while anyone uses their
/proc entries. This also brings back compatibility with the 2.4 Linux
kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2784 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-04 21:18:34 +00:00
Jean Delvare e9d2eaef30 Discard owner field from i2c_driver structure. I do not restore
inc_use/dec_use because they are not actually used anywhere.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2781 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:32:17 +00:00
Jean Delvare 239b3d0344 Backport memory allocation reworking from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2445 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 17:20:01 +00:00
Jean Delvare 1fe75068d1 Do not include unneeded headers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2286 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 21:46:36 +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 df3d00c268 remove #ifndef for DRIVERID, 2.7.0 release will require i2c-2.7.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1622 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 21:02:15 +00:00
Martin Knoblauch 558cdafe99 (MKN) Implement min/max for voltages and fan-speeds.
(MKN) Some minor cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1264 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-12-12 16:56:37 +00:00
Martin Knoblauch a5f7d7ad10 (MK) Implement min/max statistics for temperatures.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1227 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 15:58:13 +00:00
Martin Knoblauch d45932ebd3 (MKN) Add workaround for kernels that don't have I2C_DRIVERID_FSCSCY defined
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1224 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 08:20:54 +00:00
Martin Knoblauch 4f09f4f51c (MKN) Add suppurt for FSC Scylla.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1221 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-08 17:16:21 +00:00