Commit Graph
461 Commits
Author SHA1 Message Date
Frodo Looijaard d6056ebb59 Resolved undefined VIA PCI device for 2.0.33 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@475 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-08 19:37:15 +00:00
Mark D. Studebaker ba8c2301b0 update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@474 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-07 00:17:09 +00:00
Frodo Looijaard 7ad0562dc3 Made sure i2c-voodoo3 does not export more symbols than strictly
necessary. Resolved one remaining warning in matorb.c


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@473 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-06 22:24:36 +00:00
Frodo Looijaard 86ba0c96fd (Frodo) Several minor things
* Made i2c-voodoo3.c compile with 2.0 kernels
    It should also run without problem, but obviously I could not test it
    Changes are in the memory mapping of PCI address space
  * Removed several warning from i2c-voodoo3.c
    It compiles now without any warnings, even with WARN=1
  * Removed several warnings from matorb.c
    It compiles now without any warnings, even with WARN=1
    In the proces, I fixed one serious bug (assignment instead of comparison)
  * Removed a warning from w83781d.c
    It compiles now without any warnings, even with WARN=1

Hint: Once in a while, try to compile with WARN=1 and remove warnings. It
helps to find serious, hidden problems. Really!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@472 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-06 14:06:04 +00:00
Frodo Looijaard ed9ebe477b Fixed i2c-core.c kernel 2.3.x modifications to work again with kernel
2.0.x


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@471 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-06 13:29:12 +00:00
Philip Edelbrock 18a07111cd (Phil) last MUTEX change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@470 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-04 23:50:47 +00:00
Philip Edelbrock 38cd39211c (Phil) Tag and release 2.3.3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@469 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-03 20:49:42 +00:00
Frodo Looijaard f1888417ca Bradley M. Keryan's patches to make lm_sensors compile against
2.3.x kernels (x >= 1).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@467 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-02 18:19:38 +00:00
Frodo Looijaard 9e9a78774a Small W83781D typo fixed, new TODO list entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@466 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-17 14:34:24 +00:00
Philip Edelbrock 99668fefd6 (Phil) Minor timing adjustment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@465 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-15 20:23:52 +00:00
Philip Edelbrock dd4ef6c059 (Phil) Beginnings of the Matrix-Orbital driver (based on lm75.c). As it
is right now, it should clear the LCD screen.  But, I discovered that
the display simply can't cope with I2C read commands - it completely
locks up *both* the data and the *clock* lines!  (That's new.) So,
it kills the bus when probes or other reads are done to the device.
Matrix-Orbital has to fix this before we can get anything
usable working.   :'(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@464 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-14 05:52:20 +00:00
Philip Edelbrock 2c24e55d3d (Phil) Expanded i2c-voodoo3 support to handle all transaction types
except block.  I also made a minor change to the bt869 driver to match.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@463 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-14 05:13:13 +00:00
Mark D. Studebaker af28af0259 First cut of Xeon Processor ID ROM decode.
Uses eeprom entries just like decode-dimms.pl.
Untested on real Xeon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@462 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-13 01:19:21 +00:00
Philip Edelbrock f55a86c7db (Phil) Some cleaning up and documentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@461 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-12 05:17:04 +00:00
Philip Edelbrock e2eaa8a9a4 (Phil) More bug fixes and test code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@460 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-12 04:03:22 +00:00
Philip Edelbrock c4b98d9d01 (Phil) NTSC 640x480 and 800x600 output seems to work now (yeah!). They
need these 'special' modelines for XF86Config:

ModeLine "640x480NTSC"   28.195793  640 656 658 784  480 520 525 600
ModeLine "800x600NTSC"   38.769241  800 812 814 880  600 646 649 735

My monitor really doesn't like these modes, but they seem to work well
for TV output.  Oh, and this is only for a screen depth of 16bits
right now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@459 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-10 05:48:58 +00:00
Philip Edelbrock 3298cde510 (Phil) Expansion and beginning functionality of BT869 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@458 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-10 00:17:39 +00:00
Philip Edelbrock 6a79244a1d (Phil) More fixes and changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@457 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-10 00:11:08 +00:00
Philip Edelbrock 7f6d42d20d (Phil) Some clean-up and more checking. Hopefully it shouldn't do anything
bad like 'oops' when there is more than one voodoo3 in the system or when
there is none.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@456 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-08 22:50:22 +00:00
Philip Edelbrock ffc1da9bb6 (Phil) Tag and release 2.3.2 (cont'd)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@455 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-07 21:47:51 +00:00
Philip Edelbrock cb7b46b097 (Phil) Tag and release 2.3.2 (without i2c-voodoo3 or bt869 being built
by default)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@453 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-07 21:40:08 +00:00
Philip Edelbrock ad7c7e2834 (Phil) Voodoo3 I2C bus driver works and now properly detects missed 'acks'
during a transaction.  It also can detect a 'hung' bus prior to starting
a transaction.  It seems to properly read and write to the BT869.

Todo: support for multiple voodoo3 cards.  Support for other transaction
types (fairly simple).  Use code as a start for a better algo-bit
adapter template?  Complete the bt869 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@452 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-07 06:20:59 +00:00
Philip Edelbrock ab1d4f5d32 (Phil) I think I got 'no device' error handling working, but I may have
broken other stuff. :')


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@451 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 22:29:38 +00:00
Frodo Looijaard 8f44463bc7 Enhanced `make package'
It now handles CVS directories better, as well as '.#' files left-over by
CVS merges.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@450 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 19:12:57 +00:00
Frodo Looijaard 7cffb0b12a Changed the driver ID of the MAXILIFE, as spotted by Phil
Same IDs could lead to nasty surprises :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@449 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 11:08:30 +00:00
Philip Edelbrock 3855d1aeea (Phil) Beginning of Voodoo3 I2C bus and BT869 driver are working!
Voodoo3 I2C notes (or short commings):

* only one type of read supported: type 'byte' (no 'command')

* only one type of write supported: type 'byte_data'

(The two above are more the limitation of the BT869 rather than
the I2C bus.)

* I used the SMBus 'model' rather than the 'bit' model because
  I thought it was easier this way.

* failed bus transactions yeild 0xFF, not an error!  So, this means
  that many drivers instantly latch onto this adapter because all
  reads and writes succeed without error.  Without the datasheet for
  the chip, I can't do much to fix this. (Amazing I got this far!)


BT869/868 notes:

* the BT869 has lots and lots of registers (~50), but can
  only read 3 (fairly uninteresting) status registers(!).  Right
  now all three status registers are read through the 'status' file,
  but I haven't decided on the best method for writing to the rest
  of the registers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@448 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 05:52:24 +00:00
Philip Edelbrock 6a83949e74 (Phil) Beginnings of Voodoo3 I2C support and BT869 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@447 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 05:12:36 +00:00
Frodo Looijaard 70d3fcf4c4 Added a warning about the new module installation directory
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@446 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 00:02:59 +00:00
Frodo Looijaard 300b6bd6d7 Removed 'bit 0-6 of LM75 word read must be zero' detection check, as
it is not necessary true, as proved by Ben Jarvis


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@445 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-05 15:51:42 +00:00
Frodo Looijaard bafde5f9d3 Updated TODO list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@444 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 22:01:54 +00:00
Frodo Looijaard 9a9d69a465 Updated CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@443 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 21:15:23 +00:00
Frodo Looijaard 5ffe4834e5 Made i2c-hydra.o 2.0.x kernel compatible
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@442 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 21:00:24 +00:00
Philip Edelbrock 6569c8364c (Phil) Release of 2.3.1.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@441 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 18:39:32 +00:00
Frodo Looijaard 96274ee4bc Updated CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@439 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:37:41 +00:00
Frodo Looijaard 11f2217c4d SIS5595 entry in program sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@438 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:36:27 +00:00
Frodo Looijaard 1725a864ac ADM9240 and DS1780 sensors program entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@437 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:28:49 +00:00
Frodo Looijaard 1a88bcd5a0 Added ADM1021/MAX1617/MAX1617A to the sensors program
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@436 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:03:14 +00:00
Frodo Looijaard dc54ddd8cd Updated the CHANGES file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@435 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 12:31:49 +00:00
Frodo Looijaard c2549b34ca Changed hydra stuff from DOS to UNIX fileformat. Fixed bug in isadump.
Thanks, Geert.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@434 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-30 12:30:04 +00:00
Philip Edelbrock 67ee5f476a (Phil) Fixed mutex initialization problem in w83781d_detect:
Originally:

[...]
  if (is_isa) {
    data = (struct w83781d_data *) (((struct isa_client *) new_client)+1);
    new_client->addr = 0;
    ((struct isa_client *) new_client)->isa_addr = address;
    data->lock = MUTEX;
  } else {
    data = (struct w83781d_data *) (((struct i2c_client *) new_client)+1);
    new_client->addr = address;
  }
[...]

changed to this:

[...]
  if (is_isa) {
    data = (struct w83781d_data *) (((struct isa_client *) new_client)+1);
    new_client->addr = 0;
    ((struct isa_client *) new_client)->isa_addr = address;
  } else {
    data = (struct w83781d_data *) (((struct i2c_client *) new_client)+1);
    new_client->addr = address;
  }
  data->lock = MUTEX;
[...]

So, now the MUTEX is properly initialized for I2C chips, too.  If the
mutex was knowly ignored for I2C devices (because the piix4 locks its
self), then the mutex should be ignored everywhere else in the code, but
it is not.

This seems to have solved my reproducable 'hanging' problem.  But, other
drivers should be checked, too, just in case.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@433 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-30 07:09:37 +00:00
Frodo Looijaard 6e95f32c93 Fixed small merging bug in sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@432 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 19:18:39 +00:00
Frodo Looijaard 8cbbcb8ec4 Nasty buffer overflow in i2c-proc.c solved.
This one was not nice at all. When /proc/bus/i2c-* is read, information is
put into a kernel buffer, which was declared to be the same size as the
final user-space buffer into which it should be copied. Information was
copied into the kernel buffer line by line (using sprintf). If the
buffer is smaller than the whole /proc/bus/i2c-*, only part of the file
was copied. But if the buffer did not break on a line-break, the sprintf
wrote beyond the kernel buffer. With devastating results. Solution: make
the kernel buffer a little longer, so that a single additional line would
fit into it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@431 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 17:29:11 +00:00
Frodo Looijaard 1ade24f919 Geert's PPC support and Hydra driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@430 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-28 18:18:12 +00:00
Mark D. Studebaker b6f6b537d4 removed extended fan_div bits for 782d/783s since that is done.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@429 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 02:12:50 +00:00
Philip Edelbrock 0723e6833f (Phil) Some changes and additions. I like this because if something
aweful happens to me (I get hit by a bus, lose my mind, get hired
by Microsoft, etc.), then somebody else can easily take over.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@428 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 01:18:55 +00:00
Frodo Looijaard 242ff1bf32 New file with a checklist for new releases
This checklist is printed when a `make package' is done. Change as needed,
Phil.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@427 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 01:05:18 +00:00
Philip Edelbrock 035a6bf59a (Phil) Slight info/version updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@426 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 00:52:12 +00:00
Mark D. Studebaker 86e403695b update. Clarify that w83782d/783s support both thermistors
and diodes but must be configured for one or the other.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@425 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 23:52:37 +00:00
Mark D. Studebaker 70e61d7797 Maxtor -> Maxim 1617. Thanks Klaus Wolterec.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@424 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 23:33:03 +00:00
Frodo Looijaard abc9163940 New location of klm
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@423 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 11:52:01 +00:00