summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/ugpib.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-12 23:52:44 +0000
committerphk <phk@FreeBSD.org>2005-02-12 23:52:44 +0000
commit7fa8e716f8008a8001d9f21d503b48053360cf6e (patch)
tree3b55efde71f366d369663de52cbb02eed8d5ada3 /sys/dev/ieee488/ugpib.h
parent9ae66c18657944726a9f2b8ad4ac621dbc65fe39 (diff)
downloadFreeBSD-src-7fa8e716f8008a8001d9f21d503b48053360cf6e.zip
FreeBSD-src-7fa8e716f8008a8001d9f21d503b48053360cf6e.tar.gz
Check handle types.
Implement more device functions. Make DMA optional.
Diffstat (limited to 'sys/dev/ieee488/ugpib.h')
-rw-r--r--sys/dev/ieee488/ugpib.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ieee488/ugpib.h b/sys/dev/ieee488/ugpib.h
index 1604041..726a702 100644
--- a/sys/dev/ieee488/ugpib.h
+++ b/sys/dev/ieee488/ugpib.h
@@ -91,6 +91,9 @@
#define BIN (1 << 12)
/* Bus commands */
+#define GTL 0x01 /* Go To Local */
+#define SDC 0x04 /* Selected Device Clear */
+#define GET 0x08 /* Group Execute Trigger */
#define LAD 0x20 /* Listen address */
#define UNL 0x3F /* Unlisten */
#define TAD 0x40 /* Talk address */
@@ -121,7 +124,7 @@ int ibllo(int handle);
int ibln(int handle, int padval, int sadval, short *listenflag);
int ibloc(int handle);
int ibonl(int handle, int v);
-int ibpad(int handle, int v);
+int ibpad(int handle, int pad);
int ibpct(int handle);
int ibpoke(int handle, int option, int value);
int ibppc(int handle, int v);
@@ -133,7 +136,7 @@ int ibrpp(int handle, char *ppr);
int ibrsc(int handle, int v);
int ibrsp(int handle, char *spr);
int ibrsv(int handle, int v);
-int ibsad(int handle, int v);
+int ibsad(int handle, int sad);
int ibsgnl(int handle, int v);
int ibsic(int handle);
int ibsre(int handle, int v);
OpenPOWER on IntegriCloud