AHCI - Fix embarassing bug for non-NCQ disk accesses > 128G
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 2 Jul 2009 02:46:50 +0000 (19:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 2 Jul 2009 02:46:50 +0000 (19:46 -0700)
commitb2772aee9da8b587dc9444600b08f2a51e846cdf
tree588e34b361eda27d9b71bce0af4bd54afd534c8f
parent2fac62d1d9d2e18f6419c83ae44ff45057efdcf9
AHCI - Fix embarassing bug for non-NCQ disk accesses > 128G

Fix an embarassing bug for non-NCQ disk accesses > 128G.  This only
applied to non-NCQ accesses for disks which effectively means disks
behind a PM, since NCQ is generally used everywhere else.  Accesses
for seek positions from 128G to 2TB were wrapping the LBA.
sys/dev/disk/ahci/ahci_cam.c