1. 31 3月, 2014 2 次提交
  2. 18 11月, 2013 2 次提交
    • J
      watchdog: Get rid of MODULE_ALIAS_MISCDEV statements · 487722cf
      Jean Delvare 提交于
      I just can't find any value in MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR)
      and MODULE_ALIAS_MISCDEV(TEMP_MINOR) statements.
      
      Either the device is enumerated and the driver already has a module
      alias (e.g. PCI, USB etc.) that will get the right driver loaded
      automatically.
      
      Or the device is not enumerated and loading its driver will lead to
      more or less intrusive hardware poking. Such hardware poking should be
      limited to a bare minimum, so the user should really decide which
      drivers should be tried and in what order. Trying them all in
      arbitrary order can't do any good.
      
      On top of that, loading that many drivers at once bloats the kernel
      log. Also many drivers will stay loaded afterward, bloating the output
      of "lsmod" and wasting memory. Some modules (cs5535_mfgpt which gets
      loaded as a dependency) can't even be unloaded!
      
      If defining char-major-10-130 is needed then it should happen in
      user-space.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Mike Frysinger <vapier.adi@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      487722cf
    • J
      watchdog: use dev_get_platdata() · bc8fdfbe
      Jingoo Han 提交于
      Use the wrapper function for retrieving the platform data instead of
      accessing dev->platform_data directly.
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      bc8fdfbe
  3. 29 11月, 2012 3 次提交
  4. 16 9月, 2012 1 次提交
  5. 23 7月, 2012 1 次提交
  6. 29 6月, 2012 1 次提交
  7. 30 5月, 2012 1 次提交
    • R
      watchdog: iTCO_wdt.c: fix printk format warnings · 4b98b32a
      Randy Dunlap 提交于
      Fix printk format warnings:
      
      drivers/watchdog/iTCO_wdt.c:577:3: warning: format '%04llx' expects type 'long long unsigned int', but argument 2 has type 'resource_size_t'
      drivers/watchdog/iTCO_wdt.c:594:3: warning: format '%04llx' expects type 'long long unsigned int', but argument 2 has type 'resource_size_t'
      drivers/watchdog/iTCO_wdt.c:600:2: warning: format '%04llx' expects type 'long long unsigned int', but argument 4 has type 'resource_size_t'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      4b98b32a
  8. 09 5月, 2012 1 次提交
  9. 28 3月, 2012 2 次提交
  10. 27 1月, 2012 1 次提交
  11. 28 12月, 2011 1 次提交
    • W
      watchdog: iTCO_wdt.c - problems with newer hardware due to SMI clearing (part 2) · 0d098587
      Wim Van Sebroeck 提交于
      Redhat Bugzilla: Bug 727875 - TCO_EN bit is disabled by TCO driver
      
      The previous patch breaks reset watchdog behaviour on the older hardware.
      It is therefor better to make sure that the behaviour for older hardware (<=ICH5 or
      6300ESB) is preserved and that the behaviour for newer hardware is changed.
      We therefor use the iTCO_version to see if we need the clearing of the SMI_TCO_EN
      bit in the SMI_EN register.
      
      So the new behaviour becomes:
      turn_SMI_watchdog_clear_off=0 -> Do not turn off SMI clearing watchdog.
      turn_SMI_watchdog_clear_off=1 -> Turn off SMI clearing watchdog when iTCO_version=1
      				 (ICHO till ICH5 + 6300ESB only)
      turn_SMI_watchdog_clear_off=2 -> Turn off SMI clearing watchdog.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0d098587
  12. 06 11月, 2011 1 次提交
    • W
      watchdog: iTCO_wdt.c - problems with newer hardware due to SMI clearing · deb9197b
      Wim Van Sebroeck 提交于
      Redhat Bugzilla: Bug 727875 - TCO_EN bit is disabled by TCO driver
      Jiri Slaby: 28d41f53 broke temperature sensors on a ICH10 chipset
      
      The iTCO_wdt driver disables the SMI. This breaks good working of newer hardware.
      The disabling of the SMI by the TCO logic dates back from the i810-tco driver
      from Nils Faerber (around 28 July 2000). The reason for this was that some BIOSes
      install handlers reset or disable the watchdog timer instead of resetting the system.
      The trick to fix this was to disable the SMI (by clearing the SMI_TCO_EN bit of the
      SMI_EN register) to prevent this from happening.
      
      This however has strange effects on newer hardware. So we are in a situation that
      a fix for broken old hardware affects newer hardware.
      
      The correct solution is to make this fix an option (with the new module parameter:
      turn_SMI_watchdog_clear_off) so that the default behaviour is the unfixed version.
      
      the next patch will be to move this in the start and stop functions of the driver
      and to add a new module parameter for the global_smi_en bit and to get rid of the
      vendor_support code.
      
      This fix can have an effect on old (typical ICH & ICH2 chipsets) motherboards that
      have a broken BIOS implementation concerning TCO logic. In these case the module
      parameter turn_SMI_watchdog_clear_off=1 will need to be added.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      deb9197b
  13. 27 7月, 2011 1 次提交
  14. 22 7月, 2011 1 次提交
  15. 26 4月, 2011 1 次提交
  16. 16 3月, 2011 2 次提交
  17. 12 1月, 2011 2 次提交
  18. 02 12月, 2010 1 次提交
  19. 29 10月, 2010 3 次提交
  20. 25 5月, 2010 1 次提交
  21. 06 4月, 2010 1 次提交
  22. 07 3月, 2010 1 次提交
  23. 06 3月, 2010 1 次提交
  24. 19 1月, 2010 1 次提交
  25. 24 12月, 2009 1 次提交
  26. 04 12月, 2009 2 次提交
  27. 18 6月, 2009 2 次提交
  28. 25 3月, 2009 1 次提交
  29. 14 2月, 2009 1 次提交