Commit Graph
382 Commits
Author SHA1 Message Date
Frodo Looijaard 174f451f7a Final slight changes to the documentation generators.
lm75 and lm78 documentation files are now up-to-date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@392 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 21:06:31 +00:00
Frodo Looijaard 51f328e727 Example documentation for the lm78 and lm75 modules
Very slight formatting changes in documentation generators


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@391 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:50:06 +00:00
Frodo Looijaard b5860b65b0 doc-features now understands command-line given chip prefixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@390 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:44:42 +00:00
Frodo Looijaard 2c4f8804a5 New program doc-insmod.pl to automatically document the insmod
parameters of a module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@389 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:05:16 +00:00
Frodo Looijaard d496200407 Added Phil's change to MODIFICATIONS
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@388 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 18:41:38 +00:00
Philip Edelbrock 7b17647570 (Phil) Just fixed a minor typo on line #2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@387 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 18:25:57 +00:00
Frodo Looijaard 9a7ced8183 Removed old reference to prog/doc/Module.mk from master Makefile.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@386 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 13:03:23 +00:00
Frodo Looijaard 548b2e8b3b Updated TODO, slight correction in doc program
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@385 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-13 02:10:56 +00:00
Frodo Looijaard 56c373e592 Rewrote the doc-features program in Perl.
This program scan the C-sources of the library and all kernel modules and
outputs everything it can find about all features.

To do: sort features and add command-line parameters, implement slightly
       better layout.

The perl program completely replaces the C program and already has
much more functionality.

This program will be very helpful to write the kernel module documentation,
and especially to keep it up-to-date: as the C sources are examined,
updates need only be done at one place, in the source code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@384 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-13 02:06:36 +00:00
Frodo Looijaard 1715bec9a6 Updated and subject-sorted TODO list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@383 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 21:33:26 +00:00
Frodo Looijaard 76c1926109 Introduced sane limits checking for all chip modules
Like the LM78 before, all chips now handle strange values written to /proc/...
with grace - that is, they convert them to the most sane value considering
the circumstances, instead of reacting with strange resulting values
(note that they were already crash-free).

I also removed a factor '2' in the computation of the fan speeds in the
gl518sm module. This is conforming with the sheet; if your fan gives two
'ticks' for each rotation, just modify sensors.conf.

I tried to introduce rounding and limit checking to the maxilife module.
The VID computation is not yet rounded - I need the real formula for that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@382 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 21:23:57 +00:00
Frodo Looijaard 3e38c3f87e Completely correct limit handling for the lm78 module
Whatever you cat to /proc/..../lm78-*/*, the result will now always be
sensible. No more overflows resulting in weird values.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@381 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 20:38:01 +00:00
Frodo Looijaard e3bfcd92c1 Added Fons to the contributors list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@380 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 16:17:48 +00:00
Frodo Looijaard cb3131905c Major SIS5595 overhaul
* sis5595.c now understand insmod parameters
* sis5595.c now uses sis5595_ prefix instead of lm78_ prefix
* sis5595.c now supports the correct subset of the LM78 features
            (it only knows about 4 voltages, 2 fans and no vid)
* added SIS5595 defines to sensors.h
* fixed a small problem in compat.h


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@379 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 16:12:36 +00:00
Frodo Looijaard f808a95c20 Removed icspll.o from the installed modules, because it simply does
not work yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@378 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 15:00:53 +00:00
Frodo Looijaard 0cff88fa0f ADM9240 insmod parameters and detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@377 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-11 14:59:13 +00:00
Frodo Looijaard de633f772e Slight change to adm1021 driver
die_code is only relevant for true ADM1021 chips; for the MAX1617, this
is simply undefined, and for the MAX1617A, it is the chip device ID
register. So the die_code file is only created for ADM1021 chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@376 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-10 00:12:27 +00:00
Frodo Looijaard 647ad6e2b7 MAX1617A chip support (both driver and detect)
This one was easy. A MAX1617 is just a MAX1617A with better detection.
Life is beautiful!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@375 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-10 00:05:10 +00:00
Frodo Looijaard 68eee1a670 Yet two more company addresses
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@374 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-09 23:33:13 +00:00
Frodo Looijaard ffa7162899 (Frodo)Update of useful addresses
I think all companies whose busses or chips we support are now in it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@373 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-09 23:20:02 +00:00
Frodo Looijaard 67689f6f5d Added detection and insmod parameters for the LTC1710
Detection is completely impossible, but sensors-detect now assumes with a
confidence of 1 (the lowest possible) that any chip in the LTC1710 address
range is a real LTC1710. Perhaps I should remove this again, as I don't
think this chip will be encountered 'in the wild' if your name is not Phil -
in which case you would have soldered it to your SMBus yourself, so you
should know what you are doing...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@372 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-08 19:33:03 +00:00
Frodo Looijaard 1e88cbd54e Added insmod parameters to eeprom module, and fixed a typo in the
gl518sm module

Besides the usual parameters, eeprom.o understands insmod parameter 'checksum'.
Set it to one (ie. 'modprobe eeprom checksum=1') to make it ignore any
chips which do not come through the checksum.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@371 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-08 18:31:08 +00:00
Frodo Looijaard 61c58b0dc0 Updated TODO
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@370 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:49:20 +00:00
Frodo Looijaard 4e5e1093de Fixed the i2c-dev unconnected devices Oops
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@369 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:47:35 +00:00
Frodo Looijaard 389cc3f3ff Slight printing enhancements; corrected a few typos which I
introduced with the last update.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@368 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:39:02 +00:00
Frodo Looijaard 706851448d ADM1021 insmod parameters
As always, I also synchronised the detection with sensors-detect. Its
detection is now much better; it used to scan at many addresses on which
these chips could never exist


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@367 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:38:29 +00:00
Frodo Looijaard 5aebed32c6 Corrected ADM1021 and MAX1617 detection
Address 0x2b was also scanned, though it was not in the address range


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@366 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:08:47 +00:00
Frodo Looijaard 46683648bd Made the gl518sm module understand insmod parameters
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@365 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:02:36 +00:00
Frodo Looijaard 18f0aa90cd Corrected gl5*sm detection error: it looked for it on address 0x4[cd]
instead of 0x2[cd]


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@364 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 18:37:36 +00:00
Frodo Looijaard 9b1f574b23 Insmod order problem resolved in INSTALL document
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@363 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-05 21:56:54 +00:00
Frodo Looijaard 6d64665fdd New Makefile variables LINUX and LINUX_HEADERS
These will help those unfortunate people who use Debian or other braindead
distributions which ship with non-matching kernel headers in directories
/usr/include/{linux,asm}. For 'normal' people, nothing needs to be changed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@362 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-05 20:45:55 +00:00
Frodo Looijaard 7f48c9a6ba Insmod parameters for the LM80 driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@361 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-04 21:13:55 +00:00
Frodo Looijaard 0cf84e8549 Redid the macro trickery to define module parameters automatically.
This new version also creates MODULE_PARM_DESC entries, which describe
what each parameter is used for.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@360 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-04 20:56:30 +00:00
Frodo Looijaard eb1b4d7ea4 Removed -Ikernel from CFLAGS now we have compat.h in kernel/include
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@359 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-03 20:11:08 +00:00
Philip Edelbrock a8ef794389 (Phil) Moved compat.h to kernel/include.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@358 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-03 19:54:45 +00:00
Frodo Looijaard 08377964d2 Synchronised the texts appearing in /proc/ioports for all bus
drivers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@357 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:46:02 +00:00
Frodo Looijaard 765c6e0c84 Documented the new insmod parameters
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@356 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:42:07 +00:00
Frodo Looijaard 70a35fa068 Solved a bug which made the detect program unrunnable, as reported by
Mark.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@355 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:38:47 +00:00
Frodo Looijaard 37e476ba7f Removed spurious dmesg which I used for debugging
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@354 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:37:36 +00:00
Frodo Looijaard c0aac1c8da Changed forcibly enabled stuff to insmod parameters.
There are now two new insmod parameters, and the #define has disappeared

force: if set to anything but zero, this enables the PIIX4 as the old
       #define did.
force_addr: This first sets a new I/O port address for the PIIX4, and
       afterwards enables it. Supercedes 'force'.

Note that using force_addr is very, very dangerous if you do not know
what you are doing. On the other hand, it was very easy to add, and can
be a big help if your BIOS doesn't set correct addresses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@353 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:37:00 +00:00
Mark D. Studebaker 297c84c605 added note that we need support in 'sensors' for ADM1021 and ADM9240.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@352 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 01:38:19 +00:00
Mark D. Studebaker 30acc6c169 got rid of compile warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@351 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 01:20:48 +00:00
Mark D. Studebaker c44effd7fa fixed compile error. oops.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@350 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 01:18:34 +00:00
Mark D. Studebaker 1067bc4d69 added ds1780 recognition/support. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@349 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 00:58:55 +00:00
Mark D. Studebaker ddfb8235ca changed default Vbat voltage from 3.3V to 3V for 782d/783s.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@348 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 00:57:31 +00:00
Kyosti Malkki 669686ff1c (Kyösti)
* Removed unnecessary MOD_INC/DEC_USE_COUNT in host adapter drivers
  (i2c-via bit-lp bit-velle)

You can now rmmod adapters even when they have registered clients.
Without this, you would have to detach the clients first. Only way of doing
this is to rmmod the client drivers, but the same drivers might be used to
access clients behind other hosts.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@347 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-28 14:49:54 +00:00
Kyosti Malkki cb505753d1 (Kyösti)
* Fixed i2c_probe to actually try some addresses, and
  change the client->addr _only_ when we get a match.

* Algo-bit now scans the bus before registering it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@346 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-28 14:06:38 +00:00
Mark D. Studebaker 41c531511a Added very brief documentation.
We now have one doc file for every driver. Yay!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@345 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-27 00:13:34 +00:00
Mark D. Studebaker d3693e2f13 add 'static' to get rid of offending results of 'nm --extern --defined'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@344 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-26 23:54:56 +00:00
Mark D. Studebaker 059ec907f7 added chart of the various chips for quick reference.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@343 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-25 21:00:50 +00:00