1. 18 7月, 2016 4 次提交
  2. 18 6月, 2016 1 次提交
  3. 15 5月, 2016 1 次提交
  4. 13 5月, 2016 2 次提交
  5. 03 5月, 2016 1 次提交
  6. 17 3月, 2016 2 次提交
  7. 01 3月, 2016 6 次提交
  8. 07 2月, 2016 1 次提交
  9. 01 2月, 2016 1 次提交
  10. 31 1月, 2016 3 次提交
  11. 10 1月, 2016 1 次提交
  12. 29 12月, 2015 5 次提交
  13. 27 12月, 2015 1 次提交
    • P
      watchdog: Read device status through sysfs attributes · 33b71126
      Pratyush Anand 提交于
      This patch adds following attributes to watchdog device's sysfs interface
      to read its different status.
      
      * state - reads whether device is active or not
      * identity - reads Watchdog device's identity string.
      * timeout - reads current timeout.
      * timeleft - reads timeleft before watchdog generates a reset
      * bootstatus - reads status of the watchdog device at boot
      * status - reads watchdog device's  internal status bits
      * nowayout - reads whether nowayout feature was set or not
      
      Testing with iTCO_wdt:
       # cd /sys/class/watchdog/watchdog1/
       # ls
      bootstatus  dev  device  identity  nowayout  power  state
      subsystem  timeleft  timeout  uevent
       # cat identity
      iTCO_wdt
       # cat timeout
      30
       # cat state
      inactive
       # echo > /dev/watchdog1
       # cat timeleft
      26
       # cat state
      active
       # cat bootstatus
      0
       # cat nowayout
      0
      Signed-off-by: NPratyush Anand <panand@redhat.com>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      33b71126
  14. 23 11月, 2015 1 次提交
  15. 27 10月, 2015 1 次提交
  16. 28 9月, 2015 1 次提交
    • G
      watchdog: iTCO: Fix dependencies on I2C · 3cef072d
      Guenter Roeck 提交于
      If I2C is built as module, the iTCO watchdog driver must be built as module
      as well. I2C_I801 must only be selected if I2C is configured.
      
      This fixes the following build errors, seen if I2C=m and ITCO_WDT=y.
      
      i2c-i801.c:(.text+0x2bf055): undefined reference to `i2c_del_adapter'
      i2c-i801.c:(.text+0x2c13e0): undefined reference to `i2c_add_adapter'
      i2c-i801.c:(.text+0x2c17bd): undefined reference to `i2c_new_device'
      
      Fixes: 2a7a0e9b ("watchdog: iTCO_wdt: Add support for TCO on Intel Sunrisepoint")
      Reviewed-by: NMatt Fleming <matt.fleming@intel.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      3cef072d
  17. 10 9月, 2015 3 次提交
  18. 11 8月, 2015 1 次提交
  19. 29 6月, 2015 1 次提交
  20. 22 6月, 2015 3 次提交