diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-08-30 12:24:08 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-08-30 12:24:08 +0000 |
commit | f9a4f9e265a3ed2c1a29d912734472630d335d27 (patch) | |
tree | 6177458567b3d7c8eae7b813a5b1726101ae1e3b | |
parent | f5a5aba464c9005891959fe0285bd710a8d4f534 (diff) |
Make the init code match the comment and disable watchdog
reset by mouse and keyboard instead of mouse and mouse.
-rw-r--r-- | sys/dev/isa/sch311x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/sch311x.c b/sys/dev/isa/sch311x.c index eddec630dde..b7b3dc4e86c 100644 --- a/sys/dev/isa/sch311x.c +++ b/sys/dev/isa/sch311x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sch311x.c,v 1.15 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: sch311x.c,v 1.16 2016/08/30 12:24:07 jsg Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * Copyright (c) 2009 Michael Knudsen <mk@openbsd.org> @@ -498,7 +498,7 @@ schsio_wdt_init(struct schsio_softc *sc) /* Disable wdt reset by mouse and kbd */ reg = bus_space_read_1(sc->sc_iot, sc->sc_ioh_rr, SCHSIO_WDT_CFG); - reg &= ~(SCHSIO_WDT_CFG_MSEN | SCHSIO_WDT_CFG_MSEN); + reg &= ~(SCHSIO_WDT_CFG_MSEN | SCHSIO_WDT_CFG_KBDEN); bus_space_write_1(sc->sc_iot, sc->sc_ioh_rr, SCHSIO_WDT_CFG, reg); wdog_register(schsio_wdt_cb, sc); |