Skip to content

Commit

Permalink
wdc: Fix UUID index fallback mechanism
Browse files Browse the repository at this point in the history
For certain devices that don't support UUID lists, there may be multiple
definitions of the C2 logpage. This code will check for UUID list
support and search the UUID list for the correct UUID, if supported. If
UUID lists are not supported, the code will try uuid index 0 and 1 and
use an identification algorithm to determine which is returning the
correct log page data.

Signed-off-by: jeff-lien-wdc <jeff.lien@wdc.com>
[dwagner: swashed fixup patchs
	  fixed code style issues]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
  • Loading branch information
jeff-lien-wdc authored and igaw committed Dec 13, 2023
1 parent cfc6897 commit 5c1b231
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 98 deletions.
Loading

0 comments on commit 5c1b231

Please sign in to comment.