Commit Graph
31 Commits
Author SHA1 Message Date
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
Mark D. Studebaker f798af28dc remove unused find() function
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1832 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-03 01:29:14 +00:00
Mark D. Studebaker 819c3f0863 fix version printk
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1770 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-07 20:17:34 +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 70055e4121 remove VT8231 support from via686a and move to a new dedicated driver.
This driver is a copy of vt1211, which is almost identical.
     The vt1211 is a super i/o chip and the vt8231 is a PCI chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1501 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-22 02:15:07 +00:00
Mark D. Studebaker 7c7eb71409 prep for separate vt8231 recognition
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1420 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-04 17:14:52 +00:00
Mark D. Studebaker 72c05c05dd add support for 8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1378 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-05-27 21:14:10 +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 d2e5835634 fix unreliable initialization of limit registers by
adding a rather large delay after resetting the device
      via register 0x40. There is obviously a state machine
      in the chip that takes a while to run after you reset it.
      Figured out the delay time by trial and error.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1168 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-01 14:33:41 +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 e4ed326c80 fix comments
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1074 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 20:03:07 +00:00
Mark D. Studebaker de2652db9e Change base-address-setting parameter from force or force_via686a
to force_addr. It is now consistent with the bus PCI adapters
      that support base address setting (piix4, i801, viapro).
      Other benefit is that via686a_find can now return -ENODEV,
      and module will fail to load when base address is not set and
      parameter is not used.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1073 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 19:49:15 +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 b4b343d74b claim support for Via 686B. Same PCI id as 686A. No driver changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1010 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 19:22:54 +00:00
Mark D. Studebaker 899498a9b4 Allow force and force_via686a parameters. Driver will take the
address and program the base address in the 686a.
      This is NOT a PCI force; the 3057 device must
      be present in lspci.
      Should work for Asus A7V/K7V boards which don't set the
      base address (because they also have a as99127f on them!??).
      Some rough edges remain, because
      via686a_find() does not know there is a force; that only
      is apparent to via686a_detect().
      Notably, the driver will stay loaded even if the address is
      uninitialized and there is no force; also, the driver complains
      that a force is needed even when you give it one.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@999 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-20 03:43:50 +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
Bob Dougherty 8113589931 (bob dougherty) Fixed typos in temp-conversion polynomial fit formula. (thanks to Uwe Anderson for finding them.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@914 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-25 15:31:51 +00:00
Mark D. Studebaker 5330eed207 (mds) Allow via686a's that have sensor I/O mapped but sensors not
enabled by enabling the sensors. Found on FIC SD11 boards.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@788 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-02 00:42:19 +00:00
Bob Dougherty 5e8886a66f (bobd) now configures temp alarms to stay on while out of range (via686a default is to clear alarm when reg is read)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@768 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-10 20:30:45 +00:00
Bob Dougherty 0f4931a011 (bobd) cleaned to conform to kernel coding standards & tightened up some inlines
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@766 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-10 06:50:51 +00:00
Bob Dougherty 9a072f2667 (bobd) fixed a small bug in the alarms
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@765 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-09 06:55:33 +00:00
Bob Dougherty 0b240765ef (bobd) fixed temp over & hyst write bug and set default 5V & 12V correctly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@763 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-08 16:15:15 +00:00
Bob Dougherty 097c23db16 fixed fan RPM reading & improved accuracy of temp LUT.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@762 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-08 04:59:33 +00:00
Bob Dougherty d1412ad83b bobd: removed nasty floating-point math, fixed temp3 over & hyst bug.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@759 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-07 15:25:20 +00:00
Bob Dougherty 2c149094bd fixed temp & voltage conversion- they're still not perfect, but are worth testing
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@756 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-06 15:56:14 +00:00
Mark D. Studebaker cd28374a81 (mds) change type_name to via686a (remove space).
First bug found by Bob D.!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@752 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-05 02:24:43 +00:00
Mark D. Studebaker 40ccaaa658 (mds) Add via686a integrated sensors support. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@742 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-04 16:14:08 +00:00