]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262886:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Mar 2014 07:47:28 +0000 (07:47 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Mar 2014 07:47:28 +0000 (07:47 +0000)
commitb55fff5871e3bf279e8a3be8c9a5a16df7ea4522
treef765d60d393baa9c68cd209672c15024df85ea2a
parent88c7ece578723a48403fd1acc46705aeb523bfec
MFC r262886:
Fix support for increased logical sector size (4K-native drives).

- 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 <rpokala@panasas.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@263156 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ata/ata_all.c
sys/sys/ata.h