Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split i2c read across pages #256

Merged
merged 4 commits into from
Jan 6, 2022
Merged

split i2c read across pages #256

merged 4 commits into from
Jan 6, 2022

Conversation

prgeor
Copy link
Collaborator

@prgeor prgeor commented Jan 4, 2022

Signed-off-by: Prince George prgeor@microsoft.com

Description

Fix crash in get_transceiver_info() issue #255

Motivation and Context

Reading register fields across multiple page can result in crash. So, we split the read such that each field grouped are within the same page. This way we can skip reading page >= 01h for passive modules like DAC cable.

How Has This Been Tested?

Verified on 400G DAC cable and AOC cable

Additional Information (Optional)

prgeor added 2 commits January 4, 2022 09:26
Signed-off-by: Prince George <prgeor@microsoft.com>
@vdahiya12 vdahiya12 self-requested a review January 5, 2022 03:01
vdahiya12
vdahiya12 previously approved these changes Jan 5, 2022
@aravindmani-1
Copy link
Contributor

@prgeor can you check build failure?.

aravindmani-1
aravindmani-1 previously approved these changes Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants