Commit Graph
20 Commits
Author SHA1 Message Date
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
Jean Delvare a3c77b0191 Fix IN_FROM_REG rounding.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2124 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:40:20 +00:00
Mark D. Studebaker 8cf5eaa5f1 remove initialization of limits in driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2070 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:31:40 +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 bd4049d06e update and standardize PWM support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1679 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-21 21:05:48 +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 d9108ed634 fix fan min writes, fix spurious 'invalid sensor type' messages.
Patch from Kris Van Hees.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1087 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-13 17:09:13 +00:00
Mark D. Studebaker 43500d6139 fix off-by-one bug in sensor type reads/writes in mtp008.
you would get the wrong sensor.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1079 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 22:52:34 +00:00
Mark D. Studebaker db52f427a6 Change mtp008 temperature reporting from max/min to limit/hyst.
Change initial values in driver from 70/5 to 70/50.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1032 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 03:23:49 +00:00
Mark D. Studebaker 6b9ce051d3 preserve pin settings from registers 0x57 and 0x58 at startup.
These select fan type (2 or 3 wire) as well as temp sensor type
      (thermistor or diode) and temperature vs. voltage sensing for
      two pins. This should help those on various Tyan mobos.
      Driver used to reset the chip and then program a fixed setting which
      worked for the Tyan S1824D board but not for Tyan 2510.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1030 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 01:06:07 +00:00
Mark D. Studebaker b799b5e41e fix temp2 max initialization (70 instead of 7)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1021 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 22:07:17 +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
Mark D. Studebaker ee0fd78049 (mds) fix writes to fan_div first value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@947 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 00:17:27 +00:00
Mark D. Studebaker 7879f5cf8a (mds) fix fan min 3 initialization
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@942 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-04 00:05:14 +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 9e7e663693 (mds) Add mtp008 driver from Kris Van Hees.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@911 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-18 23:31:44 +00:00