]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace a local sx lock that allowed only one client at a time to access
authorIan Lepore <ian@FreeBSD.org>
Sat, 10 Oct 2015 19:51:00 +0000 (19:51 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sat, 10 Oct 2015 19:51:00 +0000 (19:51 +0000)
commit73440c336df83ad0e2e0fe3d90a7d42981b4f20e
tree49a21851b9c88ae0738e63df96869235be627a49
parent6b79bfd0dea3512eb3ce5a2877490579ca01a798
Replace a local sx lock that allowed only one client at a time to access
an eeprom device with iicbus_request/release_bus(), which achieves the
same effect and also keeps other i2c slave drivers from clashing on the bus.
sys/dev/iicbus/icee.c