From 54fc853acf0bbdcd2e380a6c8322325d9474339c Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 13 Apr 2011 06:36:22 +0000 Subject: [PATCH] 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. --- sys/dev/siis/siis.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c index b1738b2a97d..03c6127054d 100644 --- a/sys/dev/siis/siis.c +++ b/sys/dev/siis/siis.c @@ -1631,9 +1631,9 @@ retry: 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. */