Commit Graph
18 Commits
Author SHA1 Message Date
Jean Delvare 745df245fa Cleanup a legacy comment that has been replicated to many drivers
but is no longer true. Backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4328 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:40:08 +00:00
Jean Delvare 2dfd3d5b47 Fix functions being declared static and then implemented
non-static. Backport from Linux 2.6, original patch from Ben Dooks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3156 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 14:15:46 +00:00
Jean Delvare c23099c76d Drop a common comment about limits being set in initialization
functions. We no more do that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3147 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 09:05:58 +00:00
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
Mark D. Studebaker 1c08a2e704 #define driver ID because it didn't make it in the i2c
patch for kernel 2.4.13. This lets us work with a stock
      kernel 2.4.13.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1212 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-28 17:06:43 +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 5c91c75f11 malloc.h -> slab.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1193 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-29 18:32:15 +00:00
Mark D. Studebaker f2507cd7a5 Change /proc entries to naming standards, update global_event
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1185 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:52:02 +00:00
Mark D. Studebaker 90b82c0b92 allow force and force_fscpos
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1184 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:30:53 +00:00
Mark D. Studebaker 6709a2618b remove temp. ID, volt->in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1181 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:57:37 +00:00
Mark D. Studebaker d78cb7b93b Fujitsu Poseidon support from Hermann Jung <hej@odn.de>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1179 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:20:15 +00:00