HomeFreeBSD

Add ready polling after PHY reset on VIA SATA controllers.

Description

Add ready polling after PHY reset on VIA SATA controllers.

According to PR there are cases of controller hang if soft reset is
sent before device report ready status after the hard reset.

I don't think this patch is perfect, but it was reported as working
by the submitter, and I have neither the old hardware nor interest to
test some improved version, so just done some style cleaning.

PR: 183294
Submitted by: alexandre.martins@netasq.com
MFC after: 1 month

Details

Provenance
mavAuthored on
Parents
rS334098: Adding myself share/misc/committers-src.dot.
Branches
Unknown
Tags
Unknown