Fix support for increased logical sector size (4K-native drives).

Operating Systems / FreeBSD - mav [FreeBSD.org] - 7 March 2014 03:45 UTC

- Logical sector size is measured in words, not bytes.- If physical sector is not bigger then logical sector, it does not mean it should be set equal to 512 bytes, but set to logical sector.

PR: misc/187269 Submitted by: Ravi Pokala MFC after: 1 week

fe221d2 Fix support for increased logical sector size (4K-native drives).
sys/cam/ata/ata_all.c | 17 ++++++++++-------
sys/sys/ata.h | 2 ++
2 files changed, 12 insertions(+), 7 deletions(-)

Upstream: github.com


  • Share