Commit Graph
19 Commits
Author SHA1 Message Date
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 092aae7ffe Fix bogus memset (similar to a recent fix to the eeprom driver).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2410 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-04 07:16:30 +00:00
Mark D. Studebaker 9098477852 add failure printks
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2094 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:17:01 +00:00
Jean Delvare 24e6a6352d Major update of the ddcmon driver.
Add half a dozen new features.
        Add checksum parameter (same as for the eeprom module)
        Fix monitor limits


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1934 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-01 17:42:08 +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 8ddee6dd5c better handling of read errors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1689 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 16:00:57 +00:00
Mark D. Studebaker 3978a26e03 correct functionality detection for i2c block
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1688 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 05:53:15 +00:00
Mark D. Studebaker 454e70e79a use i2c block reads if that functionality is available.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1686 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 01:33:34 +00:00
Mark D. Studebaker 877bf15087 THIS_MODULE patch for kernel 2.2.18 from
Jean Delvare <delvare@ensicaen.ismra.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1317 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 22:36:26 +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 a21694024e Change from sensors_x to i2c_x for x =
_sysctl_real
		_register_entry
		_proc_real
		_detect
		_deregister_entry
		_chips_data
      which were the global symbols renamed in i2c-proc.[ch] in the
      i2c package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1101 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 22:49:28 +00:00
Mark D. Studebaker 53befd189c use normal_i2c[] instead of normal_i2c_range[] since only one address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1037 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-19 23:56:55 +00:00
Mark D. Studebaker b5d014bd46 Disable sensors.c and i2c-isa.h in the Module.mk files.
Leave the files there for now.
      Remove old installed sensors.o in kernel/Module.mk.
      sensors.c was moved to i2c-proc.c in the i2c package.
      i2c-isa.h was appended to i2c.h in the i2c package.
      Delete all but the SYSCTL and ALARMS definitions in sensors.h,
      as the rest of the file was moved to i2c-proc.h in the i2c package.
      Remove #include "i2c-isa.h" lines in all chip drivers and
      in bus driver i2c-isa.c.
      This all probably breaks mkpatch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1015 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-06 02:53:46 +00:00
Frodo Looijaard aa0c8f6768 Updated the MUTEX definitions again - they are now guarded by
the horrible
         #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \
             (LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0))
        They should now both work with 2.3 kernels (including 2.4 prepatches)
        and very new 2.2 kernels (ie. 2.2.18 prepatches)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@933 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-22 23:54:39 +00:00
Mark D. Studebaker 03e12c8b80 (mds) allow force and force_ddcmon parameters to bypass detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@923 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-02 02:56:37 +00:00
Mark D. Studebaker 03ef21e58b (mds) fixed normal_i2c_range declaration; bus was being scanned
all the way to end of address range, which was hitting clock
      chip and hanging the bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@796 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-05 23:56:49 +00:00
Mark D. Studebaker 27f0db257c (mds) add simple ddc monitor module 'ddcmon'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@713 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:05:47 +00:00