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

git: AHCI - Fix interrupt enablement sequencing


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 10:12:20 -0700 (PDT)

commit e8cf3f55e66e1d6c12fc328642467a4fd8fd52b7
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Aug 19 10:10:41 2009 -0700

    AHCI - Fix interrupt enablement sequencing
    
    * Interrupt enablement could race port initialization, causing the AHCI
      probe to fail and/or assert.
    
      Wait for basic port hardware initialization to complete (which is done by
      the port helper threads) before enabling interrupt processing on the chip.
    
    Testing-by: Alexander Polakov <polachok@gmail.com>

Summary of changes:
 sys/dev/disk/ahci/ahci.c           |   17 +++++++++++++----
 sys/dev/disk/ahci/ahci.h           |    1 +
 sys/dev/disk/ahci/ahci_attach.c    |   15 ++++++++++++++-
 sys/dev/disk/ahci/ahci_dragonfly.c |    4 +++-
 4 files changed, 31 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e8cf3f55e66e1d6c12fc328642467a4fd8fd52b7


-- 
DragonFly BSD source repository



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