DragonFly-2.3.1.158.g0b036 master sys/bus/cam cam_ccb.h cam_peri

看板DFBSD_commit作者時間16年前 (2009/06/05 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0b0362e1910e09f3a814029dfd37d7fcf0dd0e69 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jun 4 11:02:52 2009 -0700 CAM Enhancements for AHCI driver work, import some structures from OpenBSD. Add a CAM bit in the ccb to indicate that a polled operation is being requested. This is easier for the driver to find then putting it in the periph structure. Rename the scsi_read_capacity_data_long structure to scsi_read_capacity_data_16 to match OpenBSD, and add a command code for READ_CAPACITY_16 to match OpenBSD and reduce confusion. Also add missing fields to scsi_read_capacity_data_16. Add SCSI_REV_SPC3. Taken from OpenBSD. Add a page description structure for UNIT_DEVID (page 0x83), taken from OpenBSD. Add unions for SCSI CDB command structures and response fields to improve code readability. Summary of changes: sys/bus/cam/cam_ccb.h | 4 +- sys/bus/cam/cam_periph.h | 1 - sys/bus/cam/cam_xpt.c | 3 +- sys/bus/cam/scsi/scsi_all.c | 4 +- sys/bus/cam/scsi/scsi_all.h | 105 +++++++++++++++++++++++++++++++++++++++++- sys/bus/cam/scsi/scsi_da.c | 18 +++---- 6 files changed, 115 insertions(+), 20 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0b0362e1910e09f3a814029dfd37d7fcf0dd0e69 -- DragonFly BSD source repository
文章代碼(AID): #1AA1Cn00 (DFBSD_commit)