diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-05 18:36:05 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-05 18:36:05 +0000 |
commit | 56c685b4c329c67501d5af9761036b61f5972413 (patch) | |
tree | 3d1735570fdf899217993a79e5f3ca3833f612df | |
parent | 2b251cde1b3a7f569a51b7d4c320041ab826a600 (diff) |
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@.
-rw-r--r-- | sys/dev/isa/it.c | 5 |
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); |