- 10 10月, 2007 36 次提交
-
-
由 Jean Delvare 提交于
Missing parentheses in the definition of FAN_FROM_REG cause a division by zero for a specific register value. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Add individual alarm files to the lm78 driver, these are needed by the next version of libsensors. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Now that we have standard sysfs names to export temperature offset values, add this feature to the lm90 driver. All supported chips except the MAX6657, MAX6658 and MAX6659 support it. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
* Drop HWMON from the dependency list of ABITUGURU3 and LM93: this is now handled at menu level. * Make the Abit, Asus and FSC chip drivers depend on X86. These are custom chips which can only be found on their respective manufacturer's systems, and these manufacturers only do x86 hardware AFAIK. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Krzysztof Helt 提交于
This patch converts the driver to individual alarm files as required by the new lmsensors library. Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Krzysztof Helt 提交于
This is conversion of the driver to the dynamic sysfs callbacks. Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Krzysztof Helt 提交于
This patch make use the interrupt status register instead of the interrupt status mirror register. Reading of the mirror register does not clear alarms. Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Add support for the IT8716F and IT8718F fan4 and fan5. The late revisions of the IT8712F have these too but support is harder to add and nobody asked for it yet, so I didn't include it. Signed-off-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Charles Spirakis 提交于
Add new sysfs alarm methodology to w83791d driver Signed-off-by: NCharles Spirakis <bezaur@gmail.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Auke Kok 提交于
Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
The lm93 driver doesn't follow the standard naming convention for its vid files. Fix this so that libsensors will pick them. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans J. Koch <hjk@linutronix.de> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Trying to set the fan min limit to 0 currently writes 0 to the register, which is an invalid value. It's read back as -1 and the alarm flag is raised. Instead we should write 0xffff (maximum value), which reads back as 0 and no alarm flag is raised. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
The way the lm85 driver currently handles the additional resolution bits some chips have for the voltage and temperature measurements is quite complex. This is my attempt to make it simpler. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
The future libsensors needs these individual alarm and fault files. Also delete old and unused alarm defines. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
The SMSC EMC6D100 supports 3 additional voltage channels. The lm85 driver reads the register values for these, but doesn't create the corresponding sysfs files, so the user can't read the values nor write the limits. Create the missing sysfs files. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
This lets us get rid of macro-generated functions and shrinks the driver size by about 10%. I used a new style suggested by Mark M. Hoffman to retrieve the channel number. Instead of: struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); int nr = sda->index; I do: int nr = to_sensor_dev_attr(attr)->index; This looks better, and even allows the compiler to do some minor optimizations. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Tony Jones 提交于
Convert from class_device to device for hwmon_device_register/unregister Signed-off-by: NTony Jones <tonyj@suse.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Satyam Sharma 提交于
The CPU hotplug notifier_block coretemp_cpu_notifier is already defined inside an #ifdef HOTPLUG_CPU, therefore marking it as __cpuinitdata is quite a pointless thing to do. Also, remove duplicate prototype of function coretemp_update_device() at the top of this file (another one already exists barely 10 lines above this one :-) Signed-off-by: NSatyam Sharma <satyam@infradead.org> Acked-by: NRudolf Marek <r.marek@assembler.cz> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Riku Voipio 提交于
Add support for Fintek F75375S/SP and F75373. Signed-off-by: NRiku Voipio <riku.voipio@movial.fi> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
* Document the name attribute. * Document the *_label attributes. * Drop "typical usage" lists, they no longer match the reality. * Drop non hardware-monitoring related entries. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
It's confusing to display debugging messages for fan3 and pwm3 for chips which don't have them. Signed-off-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Add a name attribute to the lm70 devices. This is required for libsensors to recognize them. Also drop the "+" before the temperature value, even though it did not cause problems to libsensors, other hardware monitoring drivers don't print it, so it's more consistent that way. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Acked-by: NKaiwan <kaiwan@designergraphix.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
* Drop documentation of generic module parameters. * Drop redundant section "Driver Description". * Drop sample configuration section, it belongs to sensors.conf.eg. * Random spelling and punctuation fixes. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans J. Koch <hjk@linutronix.de> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
Deprecate the use of thermistor beta values as thermal sensor types. No driver supports changing the beta value anyway. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Christian Hohnstaedt 提交于
- replace differing temperature variable types by long - use strtol() instead of strtoul() for conversion Signed-off-by: NChristian Hohnstaedt <chohnstaedt@innominate.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Krzysztof Helt 提交于
This patch adds individual alarm and fault files to the thmc50 driver. These sysfs entries are required for a new libsensors library. Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Darrick J. Wong 提交于
New driver to expose temperature and fan controls attached to Analog Devices ADT7470 hwmon chips. Signed-off-by: NDarrick J. Wong <djwong@us.ibm.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Mark M. Hoffman 提交于
Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Hans de Goede 提交于
This is the second version of a new driver for the hardware monitoring features of the Fintek F71882FG and F71883FG Super-I/O chips. This version has several small fixes for flaws discovered during the review of the first version. This version of the driver does not support the pwm part of these chips (yet). I'll first design a sysfs api for this and post that for discussion, and then implement pwm support as an incremental patch over this one. This driver supports all sensors of this chip, except for the vid inputs. The vid inputs are somewhat documented in the datasheet, but I know nothing about vid/vrm stuff. Help with this would be much appreciated. Signed-off-by: NHans de Goede <j.w.r.degoede@hhs.nl> Acked-by: NDarrick J. Wong <djwong@us.ibm.com> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Jean Delvare 提交于
The Fintek F71806F/FG is compatible with the F71872F/FG, so it is already supported by the f71805f hardware monitoring driver. In fact, both chips have the same chip ID, so the driver can't even differentiate between them. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Gong Jun 提交于
w83792d: add individual alarm files for the new libsensors. Signed-off-by: NGong Jun <jgong@winbond.com> Signed-off-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Krzysztof Helt 提交于
This patch provides some coding standard cleanups and general code improvements (more debug info, signed values for temperatures, changed names of ADM1023 regs, removed read/write_value functions). Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Linus Torvalds 提交于
-
git://ftp.linux-mips.org/pub/scm/upstream-linus由 Linus Torvalds 提交于
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Au1000: set the PCI controller IO base [MIPS] Alchemy: Fix USB initialization. [MIPS] IP32: Fix fatal typo in address computation.
-
由 Trond Myklebust 提交于
The recent fix for a circular lock dependency unfortunately introduced a potential memory leak in the event where the call to nlmsvc_lookup_host fails for some reason. Thanks to Roel Kluin for spotting this. Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
由 Jeff Garzik 提交于
The recent mv_fill_sg() rewrite, to fix a data corruption problem related to IOMMU virtual merging, forgot to account for the potentially-increased size of the scatter/gather table after its run. Additionally, the DMA boundary is reduced from 0xffffffff to 0xffff to more closely match the needs of mv_fill_sg(). Signed-off-by: NJeff Garzik <jgarzik@redhat.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 09 10月, 2007 4 次提交
-
-
由 Florian Fainelli 提交于
The PCI controller IO base was not set in the au1000 pci code. Signed-off-by: NFelix Fietkau <nbd@openwrt.org> Signed-off-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NFlorian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
由 Florian Fainelli 提交于
This patch fixes a wrong ifdef in the board setup code, leading to the GPIO pin not being pulled high, and thus the USB switch not being powered at all. This finishes the rename of CONFIG_USB_OHCI to CONFIG_USB_OHCI_HCD, which started in 2005 (before 2.6.12-rc2), then probably because things were working anyway for most people got forgotten. [Ralf: Paolo's original patch didn't fix the module case, Florian's patch only fixed MTX1 etc. so this is a combined patch plus some cleanups.] Cc: Giuseppe Patanè <giuseppe.patane@tvblob.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: NPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NFelix Fietkau <nbd@openwrt.org> Signed-off-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NFlorian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
由 Giuseppe Sacco 提交于
Signed-off-by: NGiuseppe Sacco <eppesuig@debian.org> Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
由 Maarten Bressers 提交于
When building a custom keymap, after setting GENERATE_KEYMAP := 1 in drivers/char/Makefile, the kernel build fails like this: CC drivers/char/vt.o make[2]: *** No rule to make target `drivers/char/%.map', needed by `drivers/char/defkeymap.c'. Stop. make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 This was caused by commit af8b1287, which deleted a necessary colon from the Makefile rule that generates the keymap, since that rule contains both a target and a target-pattern. The following patch puts the colon back: Signed-off-by: NMaarten Bressers <mbres@gentoo.org> Cc: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-