AHCI/SILI - More adjustments to last commit
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Nov 2009 18:36:35 +0000 (10:36 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Nov 2009 18:36:35 +0000 (10:36 -0800)
commitd15a49f2d55e581da5b9f1a62329f85b726c015e
tree1f405e6ef648ae9770c2aa0821d7f269061125ae
parent69b3741eda7a43961baaf659f4c99e8ad054a899
AHCI/SILI - More adjustments to last commit

* Use the ultradma field instead of the legacy field.  All SATA devices
  must support DMA so don't bother with the other legacy fields.  If the
  ultradma field is not initialized (on future devices) then presumably
  we do not have to SETXFER at all.

* Note that SATA hard drives do report this field.

* Fix mode calculation.
sys/dev/disk/ahci/ahci_cam.c
sys/dev/disk/sili/sili_cam.c