aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/i6300esb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/i6300esb.c')
-rw-r--r--drivers/char/watchdog/i6300esb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/watchdog/i6300esb.c b/drivers/char/watchdog/i6300esb.c
index f0e96fbd6489..c04b246858ae 100644
--- a/drivers/char/watchdog/i6300esb.c
+++ b/drivers/char/watchdog/i6300esb.c
@@ -109,7 +109,7 @@ static int esb_timer_stop(void)
109 spin_lock(&esb_lock); 109 spin_lock(&esb_lock);
110 /* First, reset timers as suggested by the docs */ 110 /* First, reset timers as suggested by the docs */
111 esb_unlock_registers(); 111 esb_unlock_registers();
112 writew(0x10, ESB_RELOAD_REG); 112 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG);
113 /* Then disable the WDT */ 113 /* Then disable the WDT */
114 pci_write_config_byte(esb_pci, ESB_LOCK_REG, 0x0); 114 pci_write_config_byte(esb_pci, ESB_LOCK_REG, 0x0);
115 pci_read_config_byte(esb_pci, ESB_LOCK_REG, &val); 115 pci_read_config_byte(esb_pci, ESB_LOCK_REG, &val);
@@ -123,7 +123,7 @@ static void esb_timer_keepalive(void)
123{ 123{
124 spin_lock(&esb_lock); 124 spin_lock(&esb_lock);
125 esb_unlock_registers(); 125 esb_unlock_registers();
126 writew(0x10, ESB_RELOAD_REG); 126 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG);
127 /* FIXME: Do we need to flush anything here? */ 127 /* FIXME: Do we need to flush anything here? */
128 spin_unlock(&esb_lock); 128 spin_unlock(&esb_lock);
129} 129}
@@ -153,7 +153,7 @@ static int esb_timer_set_heartbeat(int time)
153 153
154 /* Reload */ 154 /* Reload */
155 esb_unlock_registers(); 155 esb_unlock_registers();
156 writew(0x10, ESB_RELOAD_REG); 156 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG);
157 157
158 /* FIXME: Do we need to flush everything out? */ 158 /* FIXME: Do we need to flush everything out? */
159 159