Date: Tue, 19 Apr 2011 17:13:14 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ahci ahci.c ahci.h Message-ID: <201104191713.p3JHDbhf036381@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2011-04-19 17:13:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ahci ahci.c ahci.h Log: SVN rev 220859 on 2011-04-19 17:13:14Z by mav MFC r220576: Refactor hard-reset implementation in ahci(4). Instead of spinning in a tight loop for up to 15 seconds, polling for device readiness while it spins up, return reset completion just after PHY reports "connect well" or 100ms connection timeout. If device was found, use callout for checking device readiness with 100ms period up to full 31 second timeout. This fixes system freeze for 5-10 seconds on drives hot plug-in. Revision Changes Path 1.1.2.51 +72 -14 src/sys/dev/ahci/ahci.c 1.1.2.13 +2 -0 src/sys/dev/ahci/ahci.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104191713.p3JHDbhf036381>