summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-10-09 22:49:50 +0000
committerian <ian@FreeBSD.org>2015-10-09 22:49:50 +0000
commit649b177fe3c5df9bfe4b762d42025e6025d770f9 (patch)
treebbb140dc59e21b4f7aac6e3bb75a3e623af290c2 /lib/libc/stdio/stdio.c
parent0fec972d61176205b027afb563c843df9b03d010 (diff)
downloadFreeBSD-src-649b177fe3c5df9bfe4b762d42025e6025d770f9.zip
FreeBSD-src-649b177fe3c5df9bfe4b762d42025e6025d770f9.tar.gz
Use IIC_EBUSBSY and IIC_BUSERR status values consistantly across all drivers.
Make it clearer what each one means in the comments that define them. IIC_BUSBSY was used in many places to mean two different things, either "someone else has reserved the bus so you have to wait until they're done" or "the signal level on the bus was not in the state I expected before/after issuing some command". Now IIC_BUSERR is used consistantly to refer to protocol/signaling errors, and IIC_BUSBSY refers to ownership/reservation of the bus.
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud