Commit Graph

  • 1664a9eb0f One less level of indirection for cpu_ids detection functions. Jean Delvare 2008-11-30 10:25:11 +00:00
  • 977a740bb4 Reindent @cpu_ids. Jean Delvare 2008-11-30 09:54:19 +00:00
  • bf530b1634 Reindent all superio_ids lists. Jean Delvare 2008-11-30 09:49:11 +00:00
  • e298eec357 Split the big @superio_ids list into per-family lists. Jean Delvare 2008-11-30 09:38:34 +00:00
  • 2ee3b7145d Fill the driver field of non-hwmon device definitions automatically. Jean Delvare 2008-11-30 09:15:32 +00:00
  • ea71934c18 Move non-hwmon I2C device definitions to a separate array. Jean Delvare 2008-11-30 09:09:04 +00:00
  • 12576458a9 Fix initialize_modules_supported: filter out the special driver names, normalize the real ones. Jean Delvare 2008-11-30 08:00:51 +00:00
  • 5ffcf09dce Consistently use .. for ranges of 3 or more addresses. Jean Delvare 2008-11-29 22:30:35 +00:00
  • 943658e42a Reindent @chip_ids. Jean Delvare 2008-11-29 22:28:05 +00:00
  • ff6aea03e4 Reindent @pci_adapters. Jean Delvare 2008-11-29 20:12:58 +00:00
  • 7794ae9b81 Suggest the sbs driver for smart batteries. Jean Delvare 2008-11-29 17:53:05 +00:00
  • 17e41b742f Add back missing quotes, a previous cleanup was a bit overzealous. Jean Delvare 2008-11-28 08:07:19 +00:00
  • 4a4dc6783b Reindent several functions. Jean Delvare 2008-11-28 07:55:10 +00:00
  • d0f33191c9 Consistently don't quote hash keys which don't need quotes. Use single quotes when quotes are needed. Jean Delvare 2008-11-27 21:46:01 +00:00
  • 437cf925a4 Consistently don't use prototyped functions. Jean Delvare 2008-11-27 21:41:28 +00:00
  • d798d611f8 Reindent and cleanup I/O port access functions. Jean Delvare 2008-11-27 18:27:20 +00:00
  • 7ef9fb78c4 Reindent pci access functions. Jean Delvare 2008-11-27 18:16:54 +00:00
  • f2ce0f84b3 Strip trailing whitespace. Jean Delvare 2008-11-27 18:11:11 +00:00
  • 88cab8add5 Reindent sysfs helpers. Jean Delvare 2008-11-27 18:10:24 +00:00
  • 3ee60a6fac Don't create module options for bus drivers we don't even need to load. Jean Delvare 2008-11-27 17:53:36 +00:00
  • 3cdf96e0f4 Cleanup generate_modprobes() a bit. Jean Delvare 2008-11-27 17:47:07 +00:00
  • 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. Jean Delvare 2008-11-27 17:44:12 +00:00
  • 7b2e59500a Fix scx200_acb name matching regexp. Jean Delvare 2008-11-27 16:44:00 +00:00
  • 1376b4846d bmcsensors doesn't exist in the Linux 2.6 kernel. Jean Delvare 2008-11-27 16:02:09 +00:00
  • bea9aa2086 Stop keeping track of the misdetected chips. Doing so needed very tricky code, which isn't really needed anymode. For one thing, misdetections are rare, as we have improved the detection functions quite a lot over the years (and new chips are in general easier to detect reliably). It it also unlikely that a driver which caused a misdetection will still be loaded for another device on the same system. For another, this is really the kernel drivers' job to make sure they will not bind to the wrong device anyway (and we did indeed improve the drivers in this respect.) Jean Delvare 2008-11-27 16:00:04 +00:00
  • 911b13eecf 2 digits are enough to print an I2C address. Jean Delvare 2008-11-27 15:00:21 +00:00
  • 820d8d3c0e Delete unused @probelist in generate_modprobes(). Jean Delvare 2008-11-27 14:54:28 +00:00
  • feda422989 Reindent 2 functions. Jean Delvare 2008-11-26 17:17:29 +00:00
  • 19cb69acf0 Fix handling of bus driver names with an underscore. Simplify loading of bus drivers: we don't really need to make this part interactive, as nothing can really go wrong at this point. Jean Delvare 2008-11-26 16:36:04 +00:00
  • 9e482430e0 Unload kernel drivers which we loaded ourselves when we are done with them. Jean Delvare 2008-11-26 14:52:07 +00:00
  • b3c97e6eb8 As of kernel 2.6.28, alias detection is handled by kernel drivers directly, so module options are no longer needed. Jean Delvare 2008-11-26 10:51:22 +00:00
  • 194cb93614 List yesterday's sensors-detect changes. Jean Delvare 2008-11-25 15:02:53 +00:00
  • d08e028567 Comment clarification. Jean Delvare 2008-11-25 13:27:10 +00:00
  • 0667d809e0 Drop useless parentheses. Jean Delvare 2008-11-24 17:28:25 +00:00
  • 4884bd8652 Clean up smartbatt_detect. Jean Delvare 2008-11-24 17:26:33 +00:00
  • 09d444883d Merge the W83L785TS detection into w83l784r_detect. Jean Delvare 2008-11-24 17:24:32 +00:00
  • 0d2a30a53c Improve GL525 detection a bit, fix the (missing) driver name. Jean Delvare 2008-11-24 17:15:40 +00:00
  • e040e561ba Merge the GL520 detection into gl518_detect. Jean Delvare 2008-11-24 17:10:31 +00:00
  • 81f81f39e1 Complete GL520SM detection. Jean Delvare 2008-11-24 17:05:33 +00:00
  • a7adce905a Merge both GL518 entries into one. We don't need separate entries as both revisions are handled by the same driver anyway. Jean Delvare 2008-11-24 16:59:25 +00:00
  • 60e1fa7392 Merge all Mozart-2 entries. We really don't need 3 entries for this especially when we don't even support these chips. Jean Delvare 2008-11-24 16:55:48 +00:00
  • b1bd48665a Harmonize the order of the parameters of all I2C detection functions. The purpose of such an admittedly intrusive change is that we then no longer need to document the calling convention of each function individually, which spares a huge amount of comments. Jean Delvare 2008-11-24 16:51:00 +00:00
  • e8f9a15798 Rename it8712_detect to it8712_i2c_detect for clarity. Jean Delvare 2008-11-24 15:51:32 +00:00
  • cbb496e134 Refactor IPMI detection functions. Jean Delvare 2008-11-24 15:50:00 +00:00
  • 9f03b10a04 Group all ISA detection functions and harmonize their parameters. Jean Delvare 2008-11-24 15:42:03 +00:00
  • 7a8669796e Drop $chip parameter from all detection functions which handle only one chip. Let's not make the code more complex than needed. Jean Delvare 2008-11-24 15:27:26 +00:00
  • ec73088454 Drop separate LM78-J entry, we really have no good reason to handle the LM78-J differently from the original LM78. Jean Delvare 2008-11-24 14:56:18 +00:00
  • f60a79b999 Oops, remove debug print. Jean Delvare 2008-11-24 14:51:43 +00:00
  • 9bbc5b348f Move all alias detection functions in once place and harmonize their parameters. Jean Delvare 2008-11-24 14:51:11 +00:00
  • 829298b0c6 Comment clarification. Jean Delvare 2008-11-24 13:57:39 +00:00
  • 569de49970 Drop old comment. Jean Delvare 2008-11-24 13:52:07 +00:00
  • 9cc1de4bfb Comment update. Jean Delvare 2008-11-24 13:46:52 +00:00
  • a6706d680a Update an obsolete comment. Jean Delvare 2008-11-24 13:34:30 +00:00
  • 4814ce52c3 Drop old SiS I2C adapter entries. If anyone really wanted to write a driver for these chips, it would already be done by now. Jean Delvare 2008-11-24 13:31:58 +00:00
  • b5df304f5d Add a separate look-up table to figure out an I2C adapter's driver based on the adapters description in sysfs. This is more efficient to have one entry per driver than one per device as we did so far. Jean Delvare 2008-11-24 13:24:00 +00:00
  • 0b86f4e187 Get I2C adapter driver names from sysfs. The old method (matching against regexp for known I2C adapters) is still used as a fallback, as early 2.6 kernels don't support the new method, and some drivers (i2c-viapro for example) do not bind to their device so the new method doesn't work for them. Jean Delvare 2008-11-24 12:42:00 +00:00
  • df31c02156 Fix SMBus detection of early W83627EHF and W83627DHG. Jean Delvare 2008-11-23 15:27:00 +00:00
  • a1db385f3c Fix SMBus detection of early W83627EHF chips. Jean Delvare 2008-11-23 15:24:50 +00:00
  • 963ca0992c Fix device->driver lookup name. What we are really interested in is the name of the kernel module, not the name of the driver. This went unnoticed so far because almost all hwmon drivers have a driver name equal to the module name. Jean Delvare 2008-11-23 15:16:45 +00:00
  • 973789e9e6 Fix the CHIPID for W83627DHG. Rudolf Marek 2008-11-23 14:27:22 +00:00
  • a0ddf07aad Handle special case chips more efficiently. Instead of listing every chip twice with just the driver field differing, we put the chip entry in the main list directly and resolve the driver field at run-time. Jean Delvare 2008-11-22 18:04:50 +00:00
  • 5cd00e8a72 Merge all FSC detection functions into a single function. Jean Delvare 2008-11-22 17:28:30 +00:00
  • f70ea56585 Merge LM87 and ADM1024 detection in a single function. Jean Delvare 2008-11-22 16:05:13 +00:00
  • 4de44481ae Drop support for Linux 2.4. Jean Delvare 2008-11-22 15:52:52 +00:00
  • a72bac5eb2 We now have a driver for the ADT7473. Jean Delvare 2008-11-22 08:30:51 +00:00
  • a048d7a22a We now have a driver for the ADT7473. Jean Delvare 2008-11-21 20:26:43 +00:00
  • 783c3d91ad Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233. Jean Delvare 2008-11-21 09:04:20 +00:00
  • 992ab93b71 Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233. Jean Delvare 2008-11-21 08:52:40 +00:00
  • 5b42d3f33b Only export the ceil function from POSIX. By default, POSIX exports everything, and this happens to generate warnings when using perl 5.10.0. That's a perl bug, but we can still work around it and avoid potential future issues of the same kind. Jean Delvare 2008-11-18 20:19:26 +00:00
  • f62a62abaa Drop old comments. Jean Delvare 2008-11-18 12:23:00 +00:00
  • b060841ac1 Missing comma in comments. Jean Delvare 2008-11-18 12:20:09 +00:00
  • 1533724750 Missing comma in comment. Jean Delvare 2008-11-18 12:19:40 +00:00
  • 3099c88f7e Fix detection of ADT7462. Jean Delvare 2008-11-17 21:50:32 +00:00
  • 7dc02997d0 Fix detection of ADT7462. Jean Delvare 2008-11-17 21:35:50 +00:00
  • 15c06bed80 Fix typo. Jean Delvare 2008-10-30 12:37:21 +00:00
  • 745219e9be The LM99 offset is now handled in the lm90 driver. Jean Delvare 2008-10-30 12:36:59 +00:00
  • 2bf52892a9 The PC8374L looks like an LM96000 on the SMBus. Jean Delvare 2008-10-30 12:33:05 +00:00
  • 51a621be43 Add support for current sensors. Jean Delvare 2008-10-24 09:04:26 +00:00
  • d766935c47 Add support for instantaneous power sensors. Jean Delvare 2008-10-24 09:03:18 +00:00
  • d67849d4c5 Add SMBus support for Intel PCH (Ibex Peak). Backport from Linux 2.6. Jean Delvare 2008-10-24 08:24:12 +00:00
  • 8ce18bcaf0 Typo fix. Jean Delvare 2008-10-22 20:13:11 +00:00
  • 05128d1666 Drop dead links to old National Semiconductor chip datasheets. Jean Delvare 2008-10-22 19:33:14 +00:00
  • f89d47e4f2 Use inline functions instead of macros. Macros evaluating their arguments more than once are evil. Backport from Linux 2.6. Jean Delvare 2008-10-22 19:24:54 +00:00
  • a8acdd0d88 The LM78 detection is relatively weak, and sometimes recent Winbond chips can be misdetected as an LM78. We have had repeated reports of this happening. (Backport from Linux 2.6.) Jean Delvare 2008-10-22 16:25:11 +00:00
  • 8e413501da Degrade the "Unsupported chip" message from info to debug level. There's nothing wrong with this, so no need to bother the user. Jean Delvare 2008-10-22 15:29:13 +00:00
  • 85ac078383 Update lm90 datasheet links. Backport from Linux 2.6. Jean Delvare 2008-10-22 14:46:57 +00:00
  • c374f6237c Add support for the VIA VX800/VX820 SMBus. Backported from Linux 2.6. Jean Delvare 2008-10-22 14:16:51 +00:00
  • 0e97b89004 Fix detection of Intel 5000 series FB-DIMM AMB. Jean Delvare 2008-10-22 12:55:02 +00:00
  • 7aa5cb5871 Fix detection of Intel 5000 series FB-DIMM AMB. Jean Delvare 2008-10-22 12:50:32 +00:00
  • e42b57bf03 Drop "label temp#_crit" statements. Since version 3.0.0, sensors no longer display a separate label for the critical temperature. Jean Delvare 2008-10-20 11:42:12 +00:00
  • 3efa6bf239 Add support for lm89, max6681, max6658, max6659, max6646, max6647 and max6649 prefixes. The lm90 driver doesn't instantiate such devices on auto-detection as they are undistinguishable from other supported types, but such devices can still be instantiated explicitly since kernel 2.6.27, and supporting them is cheap. Jean Delvare 2008-10-20 08:18:39 +00:00
  • a36de90a61 Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the Linux 2.6 kernel. Jean Delvare 2008-10-19 09:50:16 +00:00
  • fb5bbd86f1 Add VIA VX800/VX820 detection. Jean Delvare 2008-10-14 16:40:08 +00:00
  • 5337690525 Add VIA VX800/VX820 detection. Jean Delvare 2008-10-14 16:15:30 +00:00
  • e4df67dd27 Map IT8720F to it87 driver. Jean Delvare 2008-10-08 06:32:53 +00:00
  • 91f7d80bd0 Map IT8720F to it87 driver. Jean Delvare 2008-10-08 06:30:46 +00:00
  • 46723bb4e3 Add user-space support for the IT8720F (handled exactly the same as the IT8718F.) Jean Delvare 2008-10-07 20:52:01 +00:00
  • 57306b3b48 Add PWM experiment information from ticket #2350. Jean Delvare 2008-10-04 11:32:03 +00:00
  • 13d35a13f5 Add trac ticket number. Jean Delvare 2008-10-04 08:29:56 +00:00
  • a8fec4101d Add trac ticket number. Jean Delvare 2008-10-04 08:28:58 +00:00