Commit Graph
1236 Commits
Author SHA1 Message Date
Jean Delvare 4133206de9 Move i2c-dev.h to the i2c-tools package.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4485 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 09:13:05 +00:00
Jean Delvare 6c7effca88 libsensors: Kill procfs and sysctl support, part 2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4473 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 10:06:46 +00:00
Jean Delvare fea1d9a1bb libsensors: Kill procfs support, part 1.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4462 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 13:32:27 +00:00
Jean Delvare b33986c2ac Support and use the new I2C block read with variable length which will
be available in Linux kernel 2.6.23. Binary compatibility is guaranteed,
source code compatibility isn't, but the incompatibility will be
spotted quickly as the prototype of the helper function
i2c_smbus_read_i2c_block_data() changed. The only problem would be if
a program is calling i2c_smbus_access() directly. Hopefully this should
be a rare case. The py-smbus binding code is in this case and will be
adjusted soon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4419 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 10:31:56 +00:00
Jean Delvare 9232f4eb43 Delete all kernel chip drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in
the Linux kernel tree itself.

I tried to update the documentation a bit, but there's still a lot to
go. In fact, a complete rewrite seems to be needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4397 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 13:00:30 +00:00
Jean Delvare b170e0be99 Delete all kernel bus drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in
the Linux kernel tree itself.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4386 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 12:43:03 +00:00
Jean Delvare 95996b4638 Delete mkpatch and all references thereto. The kernel modules will soon
be removed from the tree so there won't be anything left to generate a
patch from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4383 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-02 10:35:14 +00:00
Mark M. Hoffman c5ffa7b635 Merge from trunk (4303:4355) out to 3.0.0 branch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Jean Delvare 0fe1b27538 vid_from_reg: Trim the VID value to the correct number of bits for each VRM.
Original patch by Rudolf Marek, backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4292 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-12 12:30:22 +00:00
Jean Delvare ac08de0cd3 Fix typo: successful.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4278 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:42:54 +00:00
Jean Delvare e0dfabe9f2 bmcsensors: Fix fragile structure initialization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4277 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:41:52 +00:00
Jean Delvare 4a82f3e86c bmcsensors: Fix several compilation warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4276 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:35:41 +00:00
Jean Delvare 84d4715bc6 f71805f: Fix the device address decoding
The lowest 3 bits are ignored, and the chip decodes all 8 addresses,
not only the 2 it needs. This is a backport from Linux 2.6.20.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4263 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-15 09:25:45 +00:00
Jean Delvare f298680633 Add Intel ICH9 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4252 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-03 15:08:15 +00:00
Jean Delvare 8e305c484f List the SMSC LPC47M112 as supported.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4218 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-19 09:55:14 +00:00
Jean Delvare 4626fc46e6 Delete the icspll driver. It was rather useless, not built by default,
supposedly dangerous, and has nothing to do with sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4197 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-06 14:39:58 +00:00
Jean Delvare a4fc9253af vt1211: Rework the voltage and temperature conversions and the temperature
input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
                 interface.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 09:32:29 +00:00
Jean Delvare 73413d0d92 Remove empty include directories on make user_uninstall.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4163 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 15:47:04 +00:00
Rudolf Marek c9bd83748b Fix the homepage address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4157 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-17 21:01:35 +00:00
Jean Delvare 09bd83fa7d vt1211 fixes:
* No in6
* More inputs can be missing (depends on UCH config)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4154 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 19:51:25 +00:00
Rudolf Marek c857b40f7a Backport VT8237A and VT8251 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4125 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-31 21:00:44 +00:00
Jean Delvare 2396d5cab7 Enhance w83791d support. Add output for in7, in8, in9, fan4 and fan5.
Also update to display the (beep) properly due to the fact that the
w83791d beep enable mask is different than the alarm mask.
Patch from Sven Anders and Charles Spirakis.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4096 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-18 16:06:55 +00:00
Jean Delvare 05ef6df32d Oops, revert a change which I did not intend to commit at this point.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4070 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:38:38 +00:00
Jean Delvare dee46838bb Makefile: Silent errors on missing dependency files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4069 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:34:09 +00:00
Rudolf Marek 74a7992f19 Transion to new website, part2 - move more links, fix the CVS->SVN
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4064 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-02 20:15:09 +00:00
Jean Delvare 47bd9a6501 Various cleanups to the i2c-i801 driver:
* Fix self file name reference.
* i801_setup can be marked __devinit.
* Drop useless error local variable and label in i801_setup.
* Use symbolic names for SMBHSTCFG bits.
* Transmit the error code returned by i801_setup instead of forcing it
  to an arbitrary value.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4061 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 21:05:37 +00:00
Jean Delvare 21a1be7e49 i2c-i801: Remove PCI function check
Remove the PCI function number check when probing devices.
This check is redundant, each function has a separate PCI device
ID, so checking for that ID is sufficient.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4060 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 19:10:41 +00:00
Jean Delvare d98d0c0185 i2c-i801: Fix block transaction poll loops
Two of the three poll loops have the poll and sleep swapped,
causing an extra sleep to occur after the polled condition is
fulfilled. In practice, this doubles the amount of sleep time for
every block transaction.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4059 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 18:39:51 +00:00
Rudolf Marek 4538a94a5f Revert the last bus hang fix. Further research neccessary.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4057 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 17:43:54 +00:00
Jean Delvare 0ed4b1e3f3 Add support for the new nForce4 MCP51 (also known as nForce 410 or
430) and nForce4 MCP55 to the i2c-nforce2 driver. Some code changes
were required because the base I/O address registers have changed in
these versions. Standard BARs are now being used, while the original
nForce2 chips used non-standard ones. (2.6 backport)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4054 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 15:53:26 +00:00
Jean Delvare cff7834fe4 Properly document on which systems the i2c-piix4 SMBus driver will
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4053 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 15:08:03 +00:00
Jean Delvare 4e98d0d9f2 i2c-piix4: Drop the fix_hstcfg parameter (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4051 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 14:36:15 +00:00
Jean Delvare c33a248478 i2c-piix4: Add ATI IXP200, IXP300, IXP400 support (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4050 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:45:08 +00:00
Jean Delvare c7ce94770a lm83: Add LM82 support (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4048 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:16:09 +00:00
Rudolf Marek 0e29665c65 Backport of 2.6 - Workaround the controller hang
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4042 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-06 16:32:41 +00:00
Jean Delvare 3098b38071 w83792d: Fix PWM range. Backport from Linux 2.6, patch from Yuan Mu.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4040 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-05 08:06:27 +00:00
Jean Delvare e6ba14f1bf i2c-viapro.c: Move definition of PCI IDs before they are used.
This fixes compilation with old kernels (2.4.20 and earlier). Thanks
to Yuan Mu for reporting.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4039 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-05 07:55:07 +00:00
Jean Delvare 0fc147568d Drop out-of-date comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4038 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-04 06:30:04 +00:00
Frodo Looijaard b81de6e42e Fix the subclient handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4031 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 14:31:01 +00:00
Rudolf Marek 5eb8aa161d Add ICH8 support. 2.6 backport
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3304 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-23 11:23:53 +00:00
Jean Delvare fd2023d0cf Static semaphores can be initialized at declaration time. This is
a backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3292 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:59:37 +00:00
Jean Delvare c72b364135 Drop a redundant semaphore. The struct i2c_adapter includes a
semaphore for the same purpose, operated by i2c-core. This is a backport
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3291 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:39:50 +00:00
Jean Delvare 4bab489796 Reset the PEC bit after every transaction. This partly reverts the
previous change. This is needed by some BIOSes at reboot and resume time.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3290 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 18:06:49 +00:00
Jean Delvare f4302b1e59 Backport from Linux 2.6:
Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3276 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-24 09:47:29 +00:00
Jean Delvare 184cb1e3c7 Use real-time alarm registers instead of interrupt registers for
W83782D, W83627HF, W83783S and W83791D. This is a backport from Linux
2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3260 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-23 23:11:17 +00:00
Jean Delvare 25e6966183 Add missing include for struct semaphore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3251 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-07 10:15:27 +00:00
Rudolf Marek c83a8a43e8 Add back the temp1 in vt1211, patch from Juerg Haefliger <juergh@gmail.com>
This patch enables the reading of temp1 (Reading3) from the VT1211.
Reading3 returns the V1211's internal temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3246 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 21:02:09 +00:00
Jean Delvare 0dec718da5 Drop unused struct member lm75.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3228 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:22:06 +00:00
Jean Delvare b36654cb3b Add 2.4 kernel and user-space support for the Winbond W83687THF
chip. Needs testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3226 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:17:17 +00:00
Jean Delvare 9f9be64fab Fix a reported compilation breakage with gcc 3.4 due to inline
functions being called before their actual definition. Thanks to Greg
Kroah-Hartman for the report.
Also, drop an unused lock.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3225 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-09 20:02:21 +00:00