]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam: remove redundant scsi_vpd_block_characteristics definition
authorWarner Losh <imp@FreeBSD.org>
Wed, 3 Mar 2021 01:31:43 +0000 (18:31 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 7 Mar 2021 23:07:57 +0000 (16:07 -0700)
commitfbc8ddde4c66d6e5d2a22c9cd5a1c850ffdbe8a2
tree22c5957219baadf2cf657bcd6e9c91a7cdeca2cf
parentfeef1047d646105b7ea5c7220ff7cd8e0ef6e3de
cam: remove redundant scsi_vpd_block_characteristics definition

There were two definitions for the SCSI VPD Block Device Characteristics (page
0xb1): struct scsi_vpd_block_characteristics and struct
scsi_vpd_block_device_characteristics. The latter is more complete and more
widely used. Convert uses of the former to the latter by tweaking the da driver
and removing sturct scsi_vpd_block_characteristics.

(cherry picked from commit b3fce46a3eac600935f3aac2b224a83defcf1cb3)
sys/cam/scsi/scsi_all.h
sys/cam/scsi/scsi_da.c