plan9fox/sys
cinap_lenrek 44615fba43 sdiahci: implement reset timeout for ahciencreset(), make blink() never block, fix map[] access in ledkproc()
Ori_B reports that his controller gets stuck in the ahciencreset()
wait loop. so we implement a 1000 ms timeout. we replace delay()
with esleep() as we are always called from the ledkproc().

blink() could enter infinite delay loop as well, so instead of
waiting for the message to get transmitted we exit making it
non-blocking (we will get called again anyway).

the access to the controller map[] was wrong in ledkproc(). the
index is the controller number, not the drive number!
2019-11-17 21:19:55 +01:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib add games/linden and games/turtle 2019-11-03 13:49:23 +00:00
include Add toascii() to ape 2019-09-09 16:00:06 +01:00
lib /sys/lib/plumb/basic: open nedmail windows with -noscroll 2019-10-22 08:18:20 +10:30
man bootrc: for wireless netbooting, set the WPA/WPA2 preshard key with wpapsk=password boot parameter 2019-11-17 19:04:38 +01:00
src sdiahci: implement reset timeout for ahciencreset(), make blink() never block, fix map[] access in ledkproc() 2019-11-17 21:19:55 +01:00