]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add another wakeup() after actually set the bus as free.
authorloos <loos@FreeBSD.org>
Mon, 20 Oct 2014 13:36:52 +0000 (13:36 +0000)
committerloos <loos@FreeBSD.org>
Mon, 20 Oct 2014 13:36:52 +0000 (13:36 +0000)
commit8655ac86454c6521ff0ee2df8ae4a5b5bee92942
tree10031a6e649a0a38b496a2f77ccba122e5ed75a1
parent04644ebb8427df9654fe6a1d3ad835d57926b04b
Add another wakeup() after actually set the bus as free.

This fix a race where the threads waiting for the bus would wake up early
and still see bus as busy.

While here, give a better description to wmesg for the two use cases we
have (bus and io waiting).

MFC after: 1 week
sys/arm/broadcom/bcm2835/bcm2835_bsc.c