summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parent9ae66c18657944726a9f2b8ad4ac621dbc65fe39 (diff)
downloadFreeBSD-src-7fa8e716f8008a8001d9f21d503b48053360cf6e.zip
FreeBSD-src-7fa8e716f8008a8001d9f21d503b48053360cf6e.tar.gz
Check handle types.
Implement more device functions. Make DMA optional.
Diffstat (limited to 'lib')
-rw-r--r--lib/libgpib/ibfoo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libgpib/ibfoo.c b/lib/libgpib/ibfoo.c
index 0ac2a0d..541b915 100644
--- a/lib/libgpib/ibfoo.c
+++ b/lib/libgpib/ibfoo.c
@@ -466,14 +466,14 @@ ibrsv (int handle, int v)
}
int
-ibsad (int handle, int v)
+ibsad (int handle, int sad)
{
struct ibarg io;
io.__ident = __ID_IBSAD;
io.handle = handle;
- io.v = v;
- io.__field = __F_HANDLE | __F_V;
+ io.sad = v;
+ io.__field = __F_HANDLE | __F_SAD;
return (__ibsubmit(&io));
}
OpenPOWER on IntegriCloud