diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-04 10:49:43 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-04 10:49:43 +0000 |
commit | 98c378b219494354f8d60f6d2e1e19cd7441c4c3 (patch) | |
tree | 73355201364612c18240dd3a79e4f3140781f7fb /sys | |
parent | eb352084ac616e16f224849fb319ba7cdb0aa710 (diff) |
do a global reset properly.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/sili.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/sili.c b/sys/dev/ic/sili.c index a473b8bf795..c55280d0d0d 100644 --- a/sys/dev/ic/sili.c +++ b/sys/dev/ic/sili.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sili.c,v 1.5 2007/03/31 03:59:53 dlg Exp $ */ +/* $OpenBSD: sili.c,v 1.6 2007/04/04 10:49:42 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -72,6 +72,8 @@ sili_attach(struct sili_softc *sc) return (1); } + /* bounce the controller */ + sili_write(sc, SILI_REG_GC, SILI_REG_GC_GR); sili_write(sc, SILI_REG_GC, 0x0); bzero(&aaa, sizeof(aaa)); |