summaryrefslogtreecommitdiff
path: root/sys/dev/ic/amivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/amivar.h')
-rw-r--r--sys/dev/ic/amivar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h
index 728bade364b..468ec547044 100644
--- a/sys/dev/ic/amivar.h
+++ b/sys/dev/ic/amivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amivar.h,v 1.25 2005/09/21 08:52:44 dlg Exp $ */
+/* $OpenBSD: amivar.h,v 1.26 2005/09/21 10:36:14 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -43,8 +43,11 @@ struct ami_ccb {
enum {
AMI_CCB_FREE, AMI_CCB_READY, AMI_CCB_QUEUED, AMI_CCB_PREQUEUED
} ccb_state;
- int ccb_len;
void *ccb_data;
+ int ccb_len;
+ enum {
+ AMI_CCB_IN, AMI_CCB_OUT
+ } ccb_dir;
bus_dmamap_t ccb_dmamap;
};