1. 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
  2. 09 5月, 2012 1 次提交
  3. 28 3月, 2012 2 次提交
  4. 27 1月, 2012 1 次提交
  5. 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
  6. 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
  7. 27 7月, 2011 1 次提交
  8. 22 7月, 2011 1 次提交
  9. 26 4月, 2011 1 次提交
  10. 16 3月, 2011 2 次提交
  11. 12 1月, 2011 2 次提交
  12. 02 12月, 2010 1 次提交
  13. 29 10月, 2010 3 次提交
  14. 25 5月, 2010 1 次提交
  15. 06 4月, 2010 1 次提交
  16. 07 3月, 2010 1 次提交
  17. 06 3月, 2010 1 次提交
  18. 19 1月, 2010 1 次提交
  19. 24 12月, 2009 1 次提交
  20. 04 12月, 2009 2 次提交
  21. 18 6月, 2009 2 次提交
  22. 25 3月, 2009 1 次提交
  23. 14 2月, 2009 1 次提交
  24. 04 12月, 2008 1 次提交
  25. 21 11月, 2008 3 次提交
  26. 07 8月, 2008 1 次提交
  27. 06 8月, 2008 1 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      Wim Van Sebroeck 提交于
      This brings the watchdog drivers into line with coding style.
      This patch takes cares of the indentation as described in chapter 1.
      Main changes:
      * Re-structure the ioctl switch call for all drivers as follows:
      	switch (cmd) {
      	case WDIOC_GETSUPPORT:
      	case WDIOC_GETSTATUS:
      	case WDIOC_GETBOOTSTATUS:
      	case WDIOC_GETTEMP:
      	case WDIOC_SETOPTIONS:
      	case WDIOC_KEEPALIVE:
      	case WDIOC_SETTIMEOUT:
      	case WDIOC_GETTIMEOUT:
      	case WDIOC_GETTIMELEFT:
      	default:
      	}
      
      This to make the migration from the drivers to the uniform watchdog
      device driver easier in the future.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
  28. 28 5月, 2008 1 次提交
  29. 25 5月, 2008 1 次提交
  30. 03 11月, 2007 2 次提交