plan9fox/sys
cinap_lenrek 50c9769bbd sdiahci: fix staggered spinup wait loop, fix confusion
setting Asud in the cmd register is not needed, because
Apwr is (Asud|Apod) already. the problem really was that
the drive comes up with sstatus Spresent (001), so we never
spun it up because (p->sstatus & Sphylink) == 0 was never
met (Sphylink being a mask (011) overlaping Spresent bit).

the spinup wait loop has to run only for the staggered spinup
case (h->cap & Hss) and it should wait for the drive to be
detected by the phy, not just cold presence detect.
2012-12-02 04:50:37 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: did anyone at iwp9 give an update about osprey? anyone ask when it'll be available? 2012-11-17 14:24:01 -06:00
include Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
lib kernel: mnt cache rework 2012-10-17 15:48:30 +02:00
man upas: handle Bcc: header 2012-11-27 21:10:55 +01:00
src sdiahci: fix staggered spinup wait loop, fix confusion 2012-12-02 04:50:37 +01:00