git: AHCI - Minor fixes
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Oct 1 12:18:48 PDT 2009
commit 0be9576a220eee851aeac7aba699f79e1c7a930d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Oct 1 12:12:45 2009 -0700
AHCI - Minor fixes
* Fix a conditional testing for hot plug removal. This is mostly
cosmetic but prevents a bogus "Device removed" message when plugging
IN devices on ports which do not support hot-plug.
* Print the port capabilities out for each port during device probe.
This makes it easier to diagnose bug reports if people try to use
hot-plug on devices (usually old AHCI 1.0 chipsets) which do not
support hot-plug. These chipsets do not do device detection on
the port change event and also usually do not implement CLO, so
there isn't much the driver can do.
Summary of changes:
sys/dev/disk/ahci/ahci.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0be9576a220eee851aeac7aba699f79e1c7a930d
--
DragonFly BSD source repository
More information about the Commits
mailing list