DragonFly commits List (threaded) for 2009-06
DragonFly BSD
DragonFly commits List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly- master sys/dev/disk/sili sili.c sili_pm.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jun 2009 00:56:33 -0700 (PDT)

commit 3c6bae9d0f544ed56e5fce6767e0792cc45a7a17
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jun 18 00:52:45 2009 -0700

    SILI - Fix port re-insertion probe problems when coming out of DET_INIT
    * When a port is pulled we enter into a listen state where we program
      SCTL to the DET_INIT state to send a continuous stream of COMRESETs.
      When a port is plugged back in we clear the DET_INIT state.  However,
      we were not waiting nearly long enough for the PHY to renegotiate!
      It can take up to 4 seconds!
      Add a polling loop to wait for the PHY to renegotiate before we start
      the DEVRESET sequence.  If we start the sequence too early the PHY
      will still be unstable and the DEVRESET sequence or something following
      it will likely fail with a fatal error interrupt (usually error code 4).
    * Reduce the physical port insertion delay to 7 seconds.  Leave the
      PM port insertion delay at 10 seconds.

Summary of changes:
 sys/dev/disk/sili/sili.c    |   24 +++++++++++++++++++++---
 sys/dev/disk/sili/sili_pm.c |   20 ++++++++++++++------
 2 files changed, 35 insertions(+), 9 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]