ahci.device: Use correct method to determine sector size.
commitd2424aa6f76073b9022df32e3249ab20b5cc34dd
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 10 Dec 2013 04:04:16 +0000 (10 04:04 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 10 Dec 2013 04:04:16 +0000 (10 04:04 +0000)
treed33bd071b9d2f0e860a429aebee67ee1d6c626b4
parentac2ccc0bdf7778780313b919ae6ff261f067b7a8
ahci.device: Use correct method to determine sector size.

ATA obsoleted the Word 5 (sector_size) in ATA IDENTIFY long
ago - we need to use Word 106 to identify logical sector
size, and assume a sector size of 512 bytes if it is
not present.

This appears to fix the issues with VMWare and AHCI.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48560 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/devs/ahci/ahci_cam_aros.c