]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFc r228846:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 Mar 2012 20:34:33 +0000 (20:34 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 Mar 2012 20:34:33 +0000 (20:34 +0000)
commitde4e816d4ca593ce974787f92ebebe7d42be4e90
treee74362d9d9c1be8bd23abe31e9aa8b3057b786d9
parentec50c30176f8d983863d66feb7935a531847f9fc
MFc r228846:
Use READ CAPACITY(16) to get information about device physical sectors.
As soon as not all devices support READ CAPACITY(16), automatically fall
back to READ CAPACITY(10) if CAM_REQ_INVALID or SSD_KEY_ILLEGAL_REQUEST
status returned.

It also provides first bits of information about Logical Block Provisioning
(aka UNMAP/TRIM) support by the device.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/scsi/scsi_all.h
sys/cam/scsi/scsi_da.c