]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Fix __retval vs. retval confusion: retval is meant to store the (userland)
authorjoerg <joerg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Dec 2010 21:33:28 +0000 (21:33 +0000)
committerjoerg <joerg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Dec 2010 21:33:28 +0000 (21:33 +0000)
commit58b7f8220bd6f98dc014a08b9c3b8c565917a4d3
tree79ebcfe24a9cc313c03fc3df806ec82385cb552c
parent5b6159995a0943bef63d9d9ff7f5a91b380efb8a
Fix __retval vs. retval confusion: retval is meant to store the (userland)
pointer where data is to be returned by ibask() (currently unimplemented),
while __retval holds the value returned by the libgpib ibfoo() functions.

The confusion resulted in the ibfoo() functions returning an uninitialized
value except in situations where the GPIB activity has been terminated
abnormally.

Implement more of __ibsta: END and SRQI status bits (taken out of the
uPD7210 IRQ status).

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@216573 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ieee488/ibfoo.c