diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-02-12 23:52:44 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-02-12 23:52:44 +0000 |
commit | 6833149f4bc75cb0d10706084c834cd9ec43a41d (patch) | |
tree | 3b55efde71f366d369663de52cbb02eed8d5ada3 /lib/libgpib | |
parent | a090347fe4cb1f165bf502927087c74c30a6f32c (diff) | |
download | src-6833149f4bc75cb0d10706084c834cd9ec43a41d.tar.gz src-6833149f4bc75cb0d10706084c834cd9ec43a41d.zip |
Check handle types.
Implement more device functions.
Make DMA optional.
Notes
Notes:
svn path=/head/; revision=141777
Diffstat (limited to 'lib/libgpib')
-rw-r--r-- | lib/libgpib/ibfoo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libgpib/ibfoo.c b/lib/libgpib/ibfoo.c index 0ac2a0d0b6b7..541b91580eca 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)); } |