diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ami.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/amivar.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 278cc0f4100..d60afb8d6ec 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.146 2006/04/19 03:38:53 krw Exp $ */ +/* $OpenBSD: ami.c,v 1.147 2006/04/20 04:39:11 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -576,7 +576,6 @@ ami_attach(struct ami_softc *sc) else sc->sc_ioctl = ami_ioctl; - sc->sc_first_poll = 0; if (sensor_task_register(sc, ami_refresh, 10)) printf("%s: unable to register update task\n", DEVNAME(sc)); #endif /* NBIO > 0 */ diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h index 0a3bba308a4..065d92d9f2b 100644 --- a/sys/dev/ic/amivar.h +++ b/sys/dev/ic/amivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amivar.h,v 1.45 2006/04/18 04:15:44 marco Exp $ */ +/* $OpenBSD: amivar.h,v 1.46 2006/04/20 04:39:11 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -138,11 +138,10 @@ struct ami_softc { char dev[16]; } sc_hdr[AMI_BIG_MAX_LDRIVES]; struct ami_rawsoftc *sc_rawsoftcs; -#if NBIO > 0 + int sc_first_poll; struct sensor *sc_sens_ld; struct ami_big_diskarray *sc_bd; -#endif /* NBIO > 0 */ }; int ami_attach(struct ami_softc *sc); |