AHCI - Minor fixes
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Oct 2009 19:12:45 +0000 (12:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Oct 2009 19:12:45 +0000 (12:12 -0700)
commit0be9576a220eee851aeac7aba699f79e1c7a930d
tree212ac901c374aa50c48a3d0646313d09bc297d6c
parent0d01c093e911afcee7474f4aa298e505622eea2f
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.
sys/dev/disk/ahci/ahci.c