Jean Delvare
|
e834cebc0c
|
Change the order of parameters of add_isa_to_chips_detected(). It
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
|
2008-12-01 16:52:52 +00:00 |
|
Jean Delvare
|
c2c0478857
|
Delete extra spaces and blank lines.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5492 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 15:52:59 +00:00 |
|
Jean Delvare
|
165fe5ce9c
|
Simplify the generation of module options.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5491 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 15:35:10 +00:00 |
|
Jean Delvare
|
55abb4ac8f
|
Shorten the header comment of /etc/sysconfig/lm_sensors. We don't really
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
|
2008-12-01 15:00:15 +00:00 |
|
Jean Delvare
|
b7c5847b62
|
Remaining spaces-to-tab conversions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5489 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 14:47:27 +00:00 |
|
Jean Delvare
|
c6d1e1f71d
|
Reindent the rest of the code. At last! :)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5488 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 14:44:26 +00:00 |
|
Jean Delvare
|
afde5c3eff
|
Refactor code in andigilog_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5487 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 13:44:12 +00:00 |
|
Jean Delvare
|
2b7b632121
|
Refactor code in adt7467_detect and adt7473_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5486 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 13:19:17 +00:00 |
|
Jean Delvare
|
7c427dddf7
|
Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5485 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 13:14:27 +00:00 |
|
Jean Delvare
|
5aa16fd61b
|
More consistency in lm90_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5484 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 13:13:36 +00:00 |
|
Jean Delvare
|
0735c78d57
|
Reindent all chip detection functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5483 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-12-01 13:07:40 +00:00 |
|
Jean Delvare
|
f6bb77e523
|
Simplify LM77 detection. The extra detection steps were broken and nobody
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
|
2008-12-01 08:16:53 +00:00 |
|
Jean Delvare
|
3dc7d6b2e9
|
Minimum kernel version is 2.6.5, not 2.6.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5481 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 20:42:41 +00:00 |
|
Jean Delvare
|
7a1b881a13
|
Drop special handling of SiS south bridge. Since kernel 2.6.5, the quirk
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
|
2008-11-30 20:41:44 +00:00 |
|
Jean Delvare
|
03eac07cd9
|
Simplify the "detect_data" type: no need to store the i2c adapter name
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
|
2008-11-30 18:27:59 +00:00 |
|
Jean Delvare
|
0455ac9e1b
|
Minor comment fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5478 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 17:14:50 +00:00 |
|
Jean Delvare
|
565eaf5307
|
Split scan_i2c_adapter into subfunctions to make it easier to read.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5477 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 17:14:08 +00:00 |
|
Jean Delvare
|
401472ff09
|
Reindent more functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5476 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 15:24:53 +00:00 |
|
Jean Delvare
|
15e40f9e18
|
Reindent Super-I/O and CPU core detection functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5475 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 14:31:03 +00:00 |
|
Jean Delvare
|
e955d2cd6e
|
Minor clean-up in i2c_probe.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5472 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 13:10:09 +00:00 |
|
Jean Delvare
|
e0e74f7033
|
Reindent I2C access functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5471 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 13:05:38 +00:00 |
|
Jean Delvare
|
791b27fbe4
|
Rework adapter_pci_detection to require fewer levels of indentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5470 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 12:53:18 +00:00 |
|
Jean Delvare
|
ead02dff68
|
Simplify adapter_pci_detection_sis_96x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5469 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 12:42:41 +00:00 |
|
Jean Delvare
|
b899891b11
|
Reindent adapter detection functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5468 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 12:34:48 +00:00 |
|
Jean Delvare
|
bf809dca15
|
Reindent auxiliary functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5467 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 12:24:42 +00:00 |
|
Jean Delvare
|
66fe01e8a8
|
Drop unused function swap_bytes().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5466 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 10:29:22 +00:00 |
|
Jean Delvare
|
1664a9eb0f
|
One less level of indirection for cpu_ids detection functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5465 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 10:25:11 +00:00 |
|
Jean Delvare
|
977a740bb4
|
Reindent @cpu_ids.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5464 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 09:54:19 +00:00 |
|
Jean Delvare
|
bf530b1634
|
Reindent all superio_ids lists.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5463 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 09:49:11 +00:00 |
|
Jean Delvare
|
e298eec357
|
Split the big @superio_ids list into per-family lists.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5462 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 09:38:34 +00:00 |
|
Jean Delvare
|
2ee3b7145d
|
Fill the driver field of non-hwmon device definitions automatically.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5461 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 09:15:32 +00:00 |
|
Jean Delvare
|
ea71934c18
|
Move non-hwmon I2C device definitions to a separate array.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5460 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 09:09:04 +00:00 |
|
Jean Delvare
|
12576458a9
|
Fix initialize_modules_supported: filter out the special driver names,
normalize the real ones.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5459 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-30 08:00:51 +00:00 |
|
Jean Delvare
|
5ffcf09dce
|
Consistently use .. for ranges of 3 or more addresses.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5458 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-29 22:30:35 +00:00 |
|
Jean Delvare
|
943658e42a
|
Reindent @chip_ids.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5457 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-29 22:28:05 +00:00 |
|
Jean Delvare
|
ff6aea03e4
|
Reindent @pci_adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5456 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-29 20:12:58 +00:00 |
|
Jean Delvare
|
7794ae9b81
|
Suggest the sbs driver for smart batteries.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5455 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-29 17:53:05 +00:00 |
|
Jean Delvare
|
17e41b742f
|
Add back missing quotes, a previous cleanup was a bit overzealous.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5451 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-28 08:07:19 +00:00 |
|
Jean Delvare
|
4a4dc6783b
|
Reindent several functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5450 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-28 07:55:10 +00:00 |
|
Jean Delvare
|
d0f33191c9
|
Consistently don't quote hash keys which don't need quotes. Use
single quotes when quotes are needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5449 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 21:46:01 +00:00 |
|
Jean Delvare
|
437cf925a4
|
Consistently don't use prototyped functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5448 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 21:41:28 +00:00 |
|
Jean Delvare
|
d798d611f8
|
Reindent and cleanup I/O port access functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5447 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 18:27:20 +00:00 |
|
Jean Delvare
|
7ef9fb78c4
|
Reindent pci access functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5446 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 18:16:54 +00:00 |
|
Jean Delvare
|
f2ce0f84b3
|
Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5445 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 18:11:11 +00:00 |
|
Jean Delvare
|
88cab8add5
|
Reindent sysfs helpers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5444 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 18:10:24 +00:00 |
|
Jean Delvare
|
3ee60a6fac
|
Don't create module options for bus drivers we don't even need to load.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5443 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 17:53:36 +00:00 |
|
Jean Delvare
|
3cdf96e0f4
|
Cleanup generate_modprobes() a bit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5442 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 17:47:07 +00:00 |
|
Jean Delvare
|
f932415c8a
|
Fix bus number prediction logic (#2327). We don't need anything complex,
given how rare are the cases where this really matters. On most systems
we will only load one I2C bus driver, so the bus numbers simply can't
change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5441 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 17:44:12 +00:00 |
|
Jean Delvare
|
7b2e59500a
|
Fix scx200_acb name matching regexp.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5440 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 16:44:00 +00:00 |
|
Jean Delvare
|
1376b4846d
|
bmcsensors doesn't exist in the Linux 2.6 kernel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5439 7894878c-1315-0410-8ee3-d5d059ff63e0
|
2008-11-27 16:02:09 +00:00 |
|