Commit Graph
164 Commits
Author SHA1 Message Date
Philip Edelbrock f29c9bcf78 (Phil) Quick transactions seem to work now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1231 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-11 03:36:25 +00:00
Philip Edelbrock 78e47a1a1d (Phil) Minor sync with what is currently used in distrobuted 2.4.x PPC
kernels.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1217 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-07 01:10:02 +00:00
Mark D. Studebaker 87adc415cb move 1535, adm1024, fscpos, it87, maxilife, mtp008 in makefile -
prep for mkpatch support


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1205 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-21 23:34:08 +00:00
Philip Edelbrock 4bc8bc2b96 (Phil) A sync of the keywest driver from what the PPC people are
apparently using these days.  At least it's claimed to work partially.
Here's the info:

2001/7/14  Paul Harrison:
                - got write working sufficient to bring Tumbler audio up,
                  read still untested


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1203 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-16 21:02:48 +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 f0441d4486 fix detection thinko broken yesterday - thanks martin
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1198 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-07 17:02:07 +00:00
Mark D. Studebaker 1deacfd781 add support for Intel 82801CA/CAM to i2c-i801
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1197 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-07 02:18:25 +00:00
Mark D. Studebaker 8ee41b7738 add VT8233 support to i2c-viapro.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1196 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-06 22:20:41 +00:00
Mark D. Studebaker e5018b6faf Loop waiting for un-busy at start of transaction.
Fail and printk if still busy.
      Fail and printk if completion timeout at end of transaction.
      Reduce timeout from 5 sec to 1 sec.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1190 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-19 17:57:11 +00:00
Mark D. Studebaker 0d36fd10cf Add 440MX and Victory66 support to piix4. Implement a
'supported' table. i2c adapter name and io region will
      always be piix4 now - too hard to do 5 different names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1188 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-19 15:56:20 +00:00
Mark D. Studebaker 086ace0bf7 add module name to two printk's.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1172 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-01 18:14:20 +00:00
Mark D. Studebaker 162eb2711d add module name to printk's
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1164 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-25 14:02:20 +00:00
Mark D. Studebaker 51a168ee4a fix module name in printk.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1163 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-25 14:02:01 +00:00
Mark D. Studebaker d2f8a04ae3 update serverworks match string
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1155 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-03 02:06:12 +00:00
Mark D. Studebaker 4af5311969 add support for AMD 766 to i2c-amd756. Appears to be compatible w/ 756.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1154 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-03 01:25:11 +00:00
Philip Edelbrock 8498ff5dd8 (Phil) Patches from Mark Rusk to support Serverworks CSB5.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1152 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-31 17:01:14 +00:00
Mark D. Studebaker 290bdb74ad Add a "blacklist" to the 5595 drivers so that they refuse to load
when encountering a long list of unsupported chips.
      All these chips have the same 1039/0008 ID as the 5595 but are
      incompatible.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1150 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 22:48:15 +00:00
Mark D. Studebaker d5de6847ab change ...82801BA_3 to ...82801BA_2 because that's what it was
named in kernel 2.4.6, which broke detection for that chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1142 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-20 01:20:22 +00:00
Mark D. Studebaker 0f18b32f8f add force_addr to i2c-ali15x3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1133 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-17 21:11:59 +00:00
Mark D. Studebaker 2c3b57ae83 changed CONFIG_I2C_VOODOO to CONFIG_I2C_VOODOO3 since we
had some of each! Thanks Antonio Mitarotondo <anmitaro@altern.org>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1123 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-08 23:03:21 +00:00
Mark D. Studebaker 375240ab52 i2c-tsunami driver from Oleg Vdovikin <vdovikin@jscc.ru> for the
Alpha architecture. I've made compilation contingent on
      the machine being an Alpha because the driver needs kernel
      include files that are in <asm-alpha>, not <asm>, unless
      you are set up as an Alpha.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1109 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-02 03:52:43 +00:00
Mark D. Studebaker 5e63047a24 remove KERN_INFO in printk's - a part of the Alpha compatibility
patch from Oleg Vdovikin <vdovikin@jscc.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1106 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-02 03:06:45 +00:00
Mark D. Studebaker 56f128bf5c Move the drivers which were recently added to mkpatch from the
always-built section to the only-if-not-in-kernel section
      of Module.mk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1100 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 19:25:18 +00:00
Mark D. Studebaker 7a6ba966ed Apply tristate patch from Jesus Arias <jesus@ele.uva.es>
which ensures i2c Bus is tristated correctly. It isn't clear from
      the datasheet if the 586's GPIO pins are open drain or not,
      but if they aren't, then the driver was driving the pins high
      rather than letting them get pulled high as the spec requires.
      This is corrected by toggling the direction rather than the
      data register to control the bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1093 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-26 21:23:40 +00:00
Mark D. Studebaker 79c341d475 add support for force_addr to i2c-sis5595.
Also automatically enable ACPI if it was disabled.
      Forcing address doesn't work on my test system, but hey,
      at least I tried to test it...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1077 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 21:57:40 +00:00
Mark D. Studebaker 11a8bf78fa renamed i2c_i810i2c_init() to i2c_i810_init()
to match what mkpatch patches in patched kernel.
      Affected only kernel patches; standalone build was fine.
      Ticket # 492.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1026 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-20 02:12:39 +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 377be956da PCI chip detection cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1011 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 20:48:43 +00:00
Mark D. Studebaker fc13775163 add static to 2 structs to remove external symbols.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@991 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-13 17:58:47 +00:00
Mark D. Studebaker 457efe73b7 add correct ifdef'ed declaration of i2c_i801_init() to remove
external symbol.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@990 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-13 17:54:36 +00:00
Mark D. Studebaker 7c21d246e8 removed; now supported by i2c-piix4.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@965 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-23 17:01:55 +00:00
Mark D. Studebaker 3047bd8374 remove i2c-osb4
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@964 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-23 17:00:37 +00:00
Philip Edelbrock f592b02b21 (Phil) Wrapped Serverworks OSB4 support into i2c-piix4.c (briefly tested
on both platforms).  LM87 support is very far along, and should work
for a majority of users, but some minor tweaks are still on the to-do list.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@963 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-22 19:26:21 +00:00
Philip Edelbrock 5938b18941 (Phil) Added a redundant define for Serverworks PCI vendor ID, for those
kernels which need it.  Also tweaked sensors-detect to work seemlessly
with the new driver.  Driver is tested, and works as expected! (Yeah!)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@950 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 17:30:20 +00:00
Mark D. Studebaker a8cf5cbfa2 (mds) add i2c- prefix to module name in version/date printk for those
that were missing it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@949 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 00:50:18 +00:00
Philip Edelbrock 6b593aa26a (Phil) Initial Serverworks southbridge support, thanks to Steffen Persvold
at Scali.  Untested, but compiles cleanly.  Seems to be very closely based
on the Intel PIIX4 SMBus driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@946 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-14 23:02:00 +00:00
Mark D. Studebaker 7ccaa7f419 (mds) Check for uninitialized base addresses. Check for unenabled sensors.
On sis5595, refuse to load if chip not found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@943 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-14 00:26:13 +00:00
Mark D. Studebaker ec53bfa1fe (mds) Add "dummy writes" before bit reads as recommended in 815
programmers' reference guide. This ensures that the input value
      is latched in the 815 register. We assume this also applies
      to the 810 or at least does no harm. Ticket 419.
      Alan Chen <alp_chen@hotmail.com> reports that this fixes the
      bug where i2c-algo-bit bit_test=1 fails the test.
      We don't have any data that shows there was any problem in
      normal operation (non bit_test) or that this fixes anything else.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@941 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-02 22:39:21 +00:00
Frodo Looijaard 62ebc84b6f Patch to make it compile with 2.2 kernels (people, please test this
before submitting patches!)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@927 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-10 20:45:30 +00:00
Dan Eaton 5be9dd74fb (dan) Added mutex to insure that only one process can gain access to the
SMBus controller at a time.  This is basically an insurance policy.  The
kernel and the status from the SMBus controller should handle this but
observed behavior seems to indicate that the SMBus controller does not
ALWAYS mark itself as "busy" during a transaction especially if a trans-
action fails.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@920 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:44:23 +00:00
Dan Eaton abdcc7ee80 (dan) Restructured the error checks performed at the end of the transaction
to check the "command completed" flag before checking for error flags in
the status register.  This will insure that when both conditions exist
(command not completed && error conditions present), a "kill" command will
be executed on the SMBus controller to clean up the bus.  Also, added a
status register write after "kill" and "timeout" commands to insure that
the status gets cleaned up after a bad transaction.  This change fixes
observed behavior in which a "command never completed" transaction was
always followed by an "idle wait timeout" on the next subsequent trans-
action.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@919 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:31:45 +00:00
Mark D. Studebaker c8b9526eb2 (mds) add support for Via 596B with PCI ID 0x3051.
Found and patch submitted by Phil Langdale.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@901 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 02:57:18 +00:00
Dan Eaton 235d74e73a (Dan) Added conditional export of base address for RocketLogix, Inc..
Made some other minor cleanup.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@878 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-19 13:54:20 +00:00
Mark D. Studebaker f7cc1c20dd (mds) add i2c-ali1535 driver from RocketLogix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@876 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:44:58 +00:00
Mark D. Studebaker 8d7e6c94d7 (mds) fix typo in comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@875 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:35:27 +00:00
Mark D. Studebaker 5d5e6410e0 (mds) removed FORCE #ifdef which never worked anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@874 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:21:55 +00:00
Mark D. Studebaker 42bbb8bb93 (mds) add i815 support to i2c-i810 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@862 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-02 19:20:23 +00:00
Mark D. Studebaker 879bcdc859 (mds) smbus block write fixes, i2c block write support from Rickard Westman.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@856 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-08-12 16:33:25 +00:00
Mark D. Studebaker cb24789105 (mds) add support for Intel 82801BA ICH2 (815E chipset).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@849 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-21 23:52:28 +00:00
Mark D. Studebaker 8233fa6c7b (mds) remove incorrect 'function 3' comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@838 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-09 03:21:00 +00:00