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

[as7326-56x] Fix port57_58 sysfs to revert value #7757

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jostar-yang
Copy link
Contributor

Why I did it

Fix sysfs module_present_57 and module_present_58 to revert. module_present_57=1 means present,
module_present_57=0 means not plugin.

How I did it

Add revert to drv code. For cpld design , 0 is presence. But for user view, 1 is presence. So modify code.

How to verify it

Plugin module to port57 and 58, Cat module_present_58 and module_present_57 are value=1.
If plug out ,value is 0

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@jostar-yang jostar-yang requested a review from lguohan as a code owner May 31, 2021 02:34
@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants