Skip to content

Commit

Permalink
bug: Fixing setting internal EPC struct for SAS devices causing inval…
Browse files Browse the repository at this point in the history
…id output

Fixing how the VPD and Mode pages are read for EPC drives. Standby Y and Z were mixed up in a bitfield which resulted in incorrect output.
There was a second bug where the mode page header was not taken into account so the standby timer values were not correctly accessed and causing invalid results.

[Seagate/openSeaChest#155]

Signed-off-by: Tyler Erickson <[email protected]>
  • Loading branch information
vonericsen committed Sep 10, 2024
1 parent 1f247e5 commit ae10e90
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 118 deletions.
2 changes: 1 addition & 1 deletion include/opensea_operation_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern "C"

#define OPENSEA_OPERATION_MAJOR_VERSION 8
#define OPENSEA_OPERATION_MINOR_VERSION 0
#define OPENSEA_OPERATION_PATCH_VERSION 1
#define OPENSEA_OPERATION_PATCH_VERSION 2

#define OPENSEA_OPERATION_VERSION COMBINE_OPERATION_VERSIONS(OPENSEA_OPERATION_MAJOR_VERSION,OPENSEA_OPERATION_MINOR_VERSION,OPENSEA_OPERATION_PATCH_VERSION)

Expand Down
Loading

0 comments on commit ae10e90

Please sign in to comment.