git: AHCI - Fix interrupt enablement sequencing
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Aug 19 10:12:49 PDT 2009
commit e8cf3f55e66e1d6c12fc328642467a4fd8fd52b7
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list