Skip to content

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

Open
jostar-yang wants to merge 1 commit intosonic-net:masterfrom
jostar-yang:as7326_20210531_revert_port57_58
Open

[as7326-56x] Fix port57_58 sysfs to revert value#7757
jostar-yang wants to merge 1 commit intosonic-net:masterfrom
jostar-yang:as7326_20210531_revert_port57_58

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