diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-27 08:01:06 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-27 08:01:06 +0000 |
commit | 3d17a2e58a9695d8a57179cb30a5a5752f9835dc (patch) | |
tree | 8197f5762f91d8365a517906a25c34dd2cd01a39 /sys/dev | |
parent | b4ac3962aacac675b759b68a22cc15d66b2412a4 (diff) |
we can do the sensors without BIO
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ami.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index e9364870c6e..b6810efa676 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.167 2006/06/27 07:56:55 dlg Exp $ */ +/* $OpenBSD: ami.c,v 1.168 2006/06/27 08:01:05 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -69,9 +69,10 @@ #include <dev/ic/amireg.h> #include <dev/ic/amivar.h> +#include <sys/sensors.h> + #if NBIO > 0 #include <dev/biovar.h> -#include <sys/sensors.h> #endif #ifdef AMI_DEBUG @@ -152,6 +153,8 @@ void ami_copy_internal_data(struct scsi_xfer *, void *, size_t); int ami_load_ptmem(struct ami_softc*, struct ami_ccb *, void *, size_t, int, int); +void ami_refresh(void *); + #if NBIO > 0 int ami_mgmt(struct ami_softc *, u_int8_t, u_int8_t, u_int8_t, u_int8_t, size_t, void *); @@ -167,7 +170,6 @@ int ami_ioctl_vol(struct ami_softc *, struct bioc_vol *); int ami_ioctl_disk(struct ami_softc *, struct bioc_disk *); int ami_ioctl_alarm(struct ami_softc *, struct bioc_alarm *); int ami_ioctl_setstate(struct ami_softc *, struct bioc_setstate *); -void ami_refresh(void *); #endif /* NBIO > 0 */ #define DEVNAME(_s) ((_s)->sc_dev.dv_xname) |