Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 20:50:57 +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:  <201104122051.p3CKp7av063284@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2011-04-12 20:50:57 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ahci         ahci.c ahci.h 
  Log:
  SVN rev 220576 on 2011-04-12 20:50:57Z by mav
  
  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.57      +72 -14    src/sys/dev/ahci/ahci.c
  1.14      +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?201104122051.p3CKp7av063284>