DragonFly commits List (threaded) for 2009-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.1.158.g0b036 master sys/bus/cam cam_ccb.h cam_periph.h cam_xpt.c sys/bus/cam/scsi scsi_all.c scsi_all.h scsi_da.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]