Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: hpsa: update identify physical device structure

- align with latest spec.
- added __attribute((aligned(512)))

Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Don Brace and committed by
Martin K. Petersen
046b263f 216e80ff

+14 -6
+14 -6
drivers/scsi/hpsa_cmd.h
··· 809 809 u8 max_temperature_degreesC; 810 810 u8 logical_blocks_per_phys_block_exp; /* phyblocksize = 512*2^exp */ 811 811 __le16 current_queue_depth_limit; 812 - u8 switch_name[10]; 813 - __le16 switch_port; 814 - u8 alternate_paths_switch_name[40]; 815 - u8 alternate_paths_switch_port[8]; 812 + u8 reserved_switch_stuff[60]; 816 813 __le16 power_on_hours; /* valid only if gas gauge supported */ 817 814 __le16 percent_endurance_used; /* valid only if gas gauge supported. */ 818 815 #define BMIC_PHYS_DRIVE_SSD_WEAROUT(idphydrv) \ ··· 825 828 (idphydrv->smart_carrier_authentication == 0x01) 826 829 u8 smart_carrier_app_fw_version; 827 830 u8 smart_carrier_bootloader_fw_version; 831 + u8 sanitize_support_flags; 832 + u8 drive_key_flags; 828 833 u8 encryption_key_name[64]; 829 834 __le32 misc_drive_flags; 830 835 __le16 dek_index; 831 - u8 padding[112]; 832 - }; 836 + __le16 hba_drive_encryption_flags; 837 + __le16 max_overwrite_time; 838 + __le16 max_block_erase_time; 839 + __le16 max_crypto_erase_time; 840 + u8 device_connector_info[5]; 841 + u8 connector_name[8][8]; 842 + u8 page_83_id[16]; 843 + u8 max_link_rate[256]; 844 + u8 neg_phys_link_rate[256]; 845 + u8 box_conn_name[8]; 846 + } __attribute((aligned(512))); 833 847 834 848 struct bmic_sense_subsystem_info { 835 849 u8 primary_slot_number;