summaryrefslogtreecommitdiff
path: root/sys/dev/ic/amivar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-03-20 10:11:00 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-03-20 10:11:00 +0000
commit150e1a673bb0f85620179f7d2acf85a0b868d15d (patch)
treeea62734c6ce719ca2da109023687d3e2e38a1577 /sys/dev/ic/amivar.h
parent375728e6480d46f7707b6d0d31ec44cc8ecca086 (diff)
shrink the ccb even more. instead of having a "wakeup" member to say when
the ioctl paths can wake up, check the state of the ccb instead. when the ccb becomes READY again then the command has completed.
Diffstat (limited to 'sys/dev/ic/amivar.h')
-rw-r--r--sys/dev/ic/amivar.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h
index c8a92b4a7a0..640b9c37869 100644
--- a/sys/dev/ic/amivar.h
+++ b/sys/dev/ic/amivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amivar.h,v 1.41 2006/03/20 09:59:26 dlg Exp $ */
+/* $OpenBSD: amivar.h,v 1.42 2006/03/20 10:10:59 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -60,9 +60,7 @@ struct ami_ccb {
int (*ccb_done)(struct ami_softc *sc,
struct ami_ccb *ccb);
- volatile int ccb_wakeup;
-
- enum {
+ volatile enum {
AMI_CCB_FREE,
AMI_CCB_READY,
AMI_CCB_QUEUED,