1. 08 2月, 2008 1 次提交
    • J
      hwmon: Let the user override the detected Super-I/O device ID · 67b671bc
      Jean Delvare 提交于
      While it is possible to force SMBus-based hardware monitoring chip
      drivers to drive a not officially supported device, we do not have this
      possibility for Super-I/O-based drivers. That's unfortunate because
      sometimes newer chips are fully compatible and just forcing the driver
      to load would work. Instead of that we have to tell the users to
      recompile the kernel driver, which isn't an easy task for everyone.
      
      So, I propose that we add a module parameter to all Super-I/O based
      hardware monitoring drivers, letting advanced users force the driver
      to load on their machine. The user has to provide the device ID of a
      supposedly compatible device. This requires looking at the source code or
      a datasheet, so I am confident that users can't randomly force a driver
      without knowing what they are doing. Thus this should be relatively safe.
      
      As you can see from the code, the implementation is pretty simple and
      unintrusive.
      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>
      67b671bc
  2. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  3. 10 10月, 2007 1 次提交
  4. 08 5月, 2007 1 次提交
    • J
      hwmon: Request the I/O regions in platform drivers · ce7ee4e8
      Jean Delvare 提交于
      My understanding of the resource management in the Linux 2.6 device
      driver model is that the devices should declare their resources, and
      then when a driver attaches to a device, it should request the
      resources it will be using, so as to mark them busy. This is how the
      PCI and PNP subsystems work, you can clearly see the two levels of
      resources (declaration and request) in /proc/ioports for these
      devices.
      
      So I believe that our platform hardware monitoring drivers should
      follow the same logic. At the moment, we only declare the resources
      but we do not request them. This patch adds the I/O region request
      and release calls.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NJuerg Haefliger <juergh@gmail.com>
      ce7ee4e8
  5. 15 2月, 2007 1 次提交
  6. 29 9月, 2006 1 次提交