summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-04-22 18:55:37 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-04-22 18:55:37 +0000
commit8c222593b60c6f9647300c1b42eac8c4406d8dfe (patch)
treefcddc49f3e358650bce47b94c09d029fed1b1e3f
parenta09d6a98ac22dcc6b4d6e85c128771cd2e9f5f7a (diff)
Henning reported a crash I can't explain while using the new sensor code.
Disable until diagnosed and fixed.
-rw-r--r--sys/dev/ic/ami.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 253140fda60..944a5c171f8 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.151 2006/04/21 07:29:00 dlg Exp $ */
+/* $OpenBSD: ami.c,v 1.152 2006/04/22 18:55:36 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -575,8 +575,11 @@ ami_attach(struct ami_softc *sc)
else
sc->sc_ioctl = ami_ioctl;
+ /* XXX */
+ /*
if (sensor_task_register(sc, ami_refresh, 10))
printf("%s: unable to register update task\n", DEVNAME(sc));
+ */
#endif /* NBIO > 0 */
config_found(&sc->sc_dev, &sc->sc_link, scsiprint);