summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/it.c
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-10-05 18:36:04 +0000
committergrange <grange@openbsd.org>2004-10-05 18:36:04 +0000
commitca690f5d4bb4666aa0041086378a4805064f1650 (patch)
tree606168eecb125137d383c57e8f574e6002e8dc23 /sys/dev/isa/it.c
parentRegress tests for pfctl -o rule reordering and duplicate rule removal. (diff)
downloadwireguard-openbsd-ca690f5d4bb4666aa0041086378a4805064f1650.tar.xz
wireguard-openbsd-ca690f5d4bb4666aa0041086378a4805064f1650.zip
Don't reset the chip on attach. This solves the problem with fans
starting to spin very fast after it0 is attached. Extracted from the diff provided by Stephan Leemburg via millert@. Test and ok krw@.
Diffstat (limited to 'sys/dev/isa/it.c')
-rw-r--r--sys/dev/isa/it.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/isa/it.c b/sys/dev/isa/it.c
index bcd6ed66df2..63ad31b1822 100644
--- a/sys/dev/isa/it.c
+++ b/sys/dev/isa/it.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: it.c,v 1.10 2004/08/23 18:06:02 millert Exp $ */
+/* $OpenBSD: it.c,v 1.11 2004/10/05 18:36:04 grange Exp $ */
/*
* Copyright (c) 2003 Julien Bordet <zejames@greyhats.org>
@@ -145,9 +145,6 @@ it_attach(struct device *parent, struct device *self, void *aux)
sc->numsensors = IT_NUM_SENSORS;
- /* Reset chip */
- it_writereg(sc, ITD_CONFIG, 0x80);
-
it_setup_fan(sc, 0, 3);
it_setup_volt(sc, 3, 9);
it_setup_temp(sc, 12, 3);