summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly handle ISA probe skip for Super I/O those registers are accessedkhali2008-12-041-1/+2
| | | | | | | on the SMBus. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5516 7894878c-1315-0410-8ee3-d5d059ff63e0
* Document the new detection order and rules.khali2008-12-032-7/+38
| | | | | | | | Drop the reference to i2cdetect, as it has moved to a separate package. Update the date and authors section. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5515 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minor coding style fix.khali2008-12-031-1/+1
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5514 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minor consistency edit.khali2008-12-031-1/+1
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5513 7894878c-1315-0410-8ee3-d5d059ff63e0
* Merge sensors-detect-stat.pl functionality into sensors-detect. Thiskhali2008-12-033-104/+41
| | | | | | | will be more reliable that way, and easier to maintain. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5512 7894878c-1315-0410-8ee3-d5d059ff63e0
* Skip SMBus probing by default if a Super I/O was found. The user cankhali2008-12-032-12/+23
| | | | | | | | | | still ask for SMBus probing, but in general, if there's a Super I/O with enabled hardware monitoring features, there won't be an additional hardware monitoring chip on the SMBus. Might need to be refined as some vendors (Asus, Tyan) are known to actually do that. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5511 7894878c-1315-0410-8ee3-d5d059ff63e0
* Skip non-hwmon devices.khali2008-12-031-1/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5510 7894878c-1315-0410-8ee3-d5d059ff63e0
* Fix insecure dependency in printf.khali2008-12-031-3/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5509 7894878c-1315-0410-8ee3-d5d059ff63e0
* Have scan_superio return a list of features instead of a boolean value.khali2008-12-031-17/+17
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5507 7894878c-1315-0410-8ee3-d5d059ff63e0
* List the features of each Super I/O chip, for later use.khali2008-12-031-1/+67
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5506 7894878c-1315-0410-8ee3-d5d059ff63e0
* Clean-up scan_superio.khali2008-12-021-7/+4
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5505 7894878c-1315-0410-8ee3-d5d059ff63e0
* Do not scan I2C adapters on multimedia cards by default. I've neverkhali2008-12-022-4/+40
| | | | | | | | seen a hardware monitoring chip on such boards, and probing them can cause problems. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5504 7894878c-1315-0410-8ee3-d5d059ff63e0
* Skip ISA detection by default if a Super I/O was found. In general,khali2008-12-022-9/+18
| | | | | | | systems have a Super-I/O chip or an ISA chip, not both. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5503 7894878c-1315-0410-8ee3-d5d059ff63e0
* Add an option to skip ISA probes except IPMI. The idea is that onlykhali2008-12-022-3/+9
| | | | | | | | | old systems have ISA hardware monitoring chips, while IPMI can be present on recent systems. Additionally, IPMI probing is read-only, so it's safer than other ISA probes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5502 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minor fixes to the previous commit.khali2008-12-021-2/+1
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5501 7894878c-1315-0410-8ee3-d5d059ff63e0
* Move some code from main() to scan_i2c_adapter() as it makes more sensekhali2008-12-021-22/+19
| | | | | | | that way. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5500 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop redundant comments in PCI / CPU detection section.khali2008-12-021-13/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5499 7894878c-1315-0410-8ee3-d5d059ff63e0
* Probe chip types from safest to more risky. Start with sensors embeddedkhali2008-12-022-54/+51
| | | | | | | | | in CPU and south bridges, then Super I/O, then ISA and last I2C/SMBus. In the future we may decide to skip probing ISA and I2C/SMBus if we already have found a supported south bridge or Super I/O. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5498 7894878c-1315-0410-8ee3-d5d059ff63e0
* Turn chips_detected into a hash. This is more appropriate to the datakhali2008-12-021-58/+37
| | | | | | | we store than the array we were using so far. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5497 7894878c-1315-0410-8ee3-d5d059ff63e0
* Move alias detection after all chip detections. This is slightly lesskhali2008-12-022-53/+73
| | | | | | | efficient, but this makes it possible to later change the probing order. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5496 7894878c-1315-0410-8ee3-d5d059ff63e0
* Fix calling convention comment.khali2008-12-011-3/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5495 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop alias detection for Super-I/O chips. It never actually worked,khali2008-12-012-24/+2
| | | | | | | | | | | | because the code compares the chip names first and we never cared of using the exact same name string for I2C and Super-I/O entries of a given chip. Anyway, we do not have any Super-I/O driver also doing I2C access so detecting aliases wouldn't be that usesul. And as I've said before, alias detection is better handled at the kernel level anyway. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5494 7894878c-1315-0410-8ee3-d5d059ff63e0
* Change the order of parameters of add_isa_to_chips_detected(). Itkhali2008-12-011-7/+7
| | | | | | | makes more sense to have the optional parameter last. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5493 7894878c-1315-0410-8ee3-d5d059ff63e0
* Delete extra spaces and blank lines.khali2008-12-011-22/+19
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5492 7894878c-1315-0410-8ee3-d5d059ff63e0
* Simplify the generation of module options.khali2008-12-011-16/+11
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5491 7894878c-1315-0410-8ee3-d5d059ff63e0
* Shorten the header comment of /etc/sysconfig/lm_sensors. We don't reallykhali2008-12-011-29/+4
| | | | | | | | need a copyright and license notice on a generated, 3-line configuration file, do we? git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5490 7894878c-1315-0410-8ee3-d5d059ff63e0
* Remaining spaces-to-tab conversions.khali2008-12-011-22/+23
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5489 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent the rest of the code. At last! :)khali2008-12-011-349/+345
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5488 7894878c-1315-0410-8ee3-d5d059ff63e0
* Refactor code in andigilog_detect.khali2008-12-011-12/+4
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5487 7894878c-1315-0410-8ee3-d5d059ff63e0
* Refactor code in adt7467_detect and adt7473_detect.khali2008-12-011-20/+12
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5486 7894878c-1315-0410-8ee3-d5d059ff63e0
* Strip trailing whitespace.khali2008-12-011-2/+2
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5485 7894878c-1315-0410-8ee3-d5d059ff63e0
* More consistency in lm90_detect.khali2008-12-011-10/+5
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5484 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent all chip detection functions.khali2008-12-011-991/+971
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5483 7894878c-1315-0410-8ee3-d5d059ff63e0
* Simplify LM77 detection. The extra detection steps were broken and nobodykhali2008-12-011-19/+3
| | | | | | | complained. And it's not like the LM77 is an immensely popular chip. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5482 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minimum kernel version is 2.6.5, not 2.6.0.khali2008-11-301-3/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5481 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop special handling of SiS south bridge. Since kernel 2.6.5, the quirkkhali2008-11-301-38/+10
| | | | | | | is handled in the kernel directly. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5480 7894878c-1315-0410-8ee3-d5d059ff63e0
* Simplify the "detect_data" type: no need to store the i2c adapter namekhali2008-11-301-12/+5
| | | | | | | and driver, we can look these up as needed. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5479 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minor comment fix.khali2008-11-301-3/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5478 7894878c-1315-0410-8ee3-d5d059ff63e0
* Split scan_i2c_adapter into subfunctions to make it easier to read.khali2008-11-301-85/+101
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5477 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent more functions.khali2008-11-301-277/+287
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5476 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent Super-I/O and CPU core detection functions.khali2008-11-301-160/+162
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5475 7894878c-1315-0410-8ee3-d5d059ff63e0
* Accept negative temperatures in RRD database.khali2008-11-302-1/+2
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5473 7894878c-1315-0410-8ee3-d5d059ff63e0
* Minor clean-up in i2c_probe.khali2008-11-301-3/+2
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5472 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent I2C access functions.khali2008-11-301-79/+83
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5471 7894878c-1315-0410-8ee3-d5d059ff63e0
* Rework adapter_pci_detection to require fewer levels of indentation.khali2008-11-301-23/+23
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5470 7894878c-1315-0410-8ee3-d5d059ff63e0
* Simplify adapter_pci_detection_sis_96x.khali2008-11-301-11/+3
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5469 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent adapter detection functions.khali2008-11-301-68/+69
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5468 7894878c-1315-0410-8ee3-d5d059ff63e0
* Reindent auxiliary functions.khali2008-11-301-44/+47
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5467 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop unused function swap_bytes().khali2008-11-301-7/+1
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5466 7894878c-1315-0410-8ee3-d5d059ff63e0
* One less level of indirection for cpu_ids detection functions.khali2008-11-301-8/+8
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5465 7894878c-1315-0410-8ee3-d5d059ff63e0