summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/ibfoo_int.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-12 21:07:09 +0000
committerphk <phk@FreeBSD.org>2005-02-12 21:07:09 +0000
commit2bebe00e4309269f720ee56533cd77256cb7673d (patch)
tree47713eba086151828434a42e5e99ca85ad1ff2ae /sys/dev/ieee488/ibfoo_int.h
parent26eab3d80642690062d224dd48aa6b92e41f59f2 (diff)
downloadFreeBSD-src-2bebe00e4309269f720ee56533cd77256cb7673d.zip
FreeBSD-src-2bebe00e4309269f720ee56533cd77256cb7673d.tar.gz
Add ibcntl as alias for ibcnt
Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling
Diffstat (limited to 'sys/dev/ieee488/ibfoo_int.h')
-rw-r--r--sys/dev/ieee488/ibfoo_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ieee488/ibfoo_int.h b/sys/dev/ieee488/ibfoo_int.h
index 845bb7f..28f7289 100644
--- a/sys/dev/ieee488/ibfoo_int.h
+++ b/sys/dev/ieee488/ibfoo_int.h
@@ -110,11 +110,11 @@ enum ibfoo_id {
#define __F_LISTENFLAG (1 << 23)
#define __F_EVENT (1 << 24)
-struct ibfoo_iocarg {
+struct ibarg {
enum ibfoo_id __ident;
unsigned int __field;
int __retval;
- int __ibsts;
+ int __ibsta;
int __iberr;
int __ibcnt;
int handle;
@@ -144,4 +144,4 @@ struct ibfoo_iocarg {
short * event;
};
-#define GPIB_IBFOO _IOWR(4, 0, struct ibfoo_iocarg)
+#define GPIB_IBFOO _IOWR(4, 0, struct ibarg)
OpenPOWER on IntegriCloud