As soon as siis_reset() doesn't waits for device readiness, but only for
controller port readiness (that should set just after PHY ready signal), reduce wait time from 10s to 1s before trying more aggressive reset method. This should improve system responsibility in some failure conditions.
This commit is contained in:
parent
c772d0204f
commit
54fc853acf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220591
@ -1631,9 +1631,9 @@ siis_reset(device_t dev)
|
||||
xpt_release_simq(ch->sim, TRUE);
|
||||
return;
|
||||
}
|
||||
/* Wait for clearing busy status. */
|
||||
if (siis_wait_ready(dev, 10000)) {
|
||||
device_printf(dev, "device ready timeout\n");
|
||||
/* Wait for port ready status. */
|
||||
if (siis_wait_ready(dev, 1000)) {
|
||||
device_printf(dev, "port ready timeout\n");
|
||||
if (!retry) {
|
||||
device_printf(dev, "trying full port reset ...\n");
|
||||
/* Get port to the reset state. */
|
||||
|
Loading…
Reference in New Issue
Block a user