Skip to content

DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason#3059

Merged
lguohan merged 1 commit intosonic-net:masterfrom
sridhar-ravindran:export_smf_poweron_reason
Jun 29, 2019
Merged

DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason#3059
lguohan merged 1 commit intosonic-net:masterfrom
sridhar-ravindran:export_smf_poweron_reason

Conversation

@sridhar-ravindran
Copy link
Contributor

- What I did
Added code to return last poweron reason

- How I did it
Exported SMF PowerOn Register into
/sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
- How to verify it
root@sonic:~# cat /sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
11 <<<<<<<<<<<<<<<<<<<<<<<<<
- Description for the changelog

DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason

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

@sridhar-ravindran
Copy link
Contributor Author

sridhar-ravindran commented Jun 21, 2019

Unit Testing

root@sonic:~# cat /sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
11

@sridhar-ravindran
Copy link
Contributor Author

Hi,

Could you please merge this request along with #3063

@jleveque
Copy link
Contributor

Retest vs please

@lguohan lguohan merged commit fe45a0d into sonic-net:master Jun 29, 2019
@sridhar-ravindran sridhar-ravindran deleted the export_smf_poweron_reason branch June 29, 2019 05:12
mssonicbld added a commit that referenced this pull request Jul 25, 2024
…atically (#19679)

#### Why I did it
src/sonic-utilities
```
* a813215 - (HEAD -> master, origin/master, origin/HEAD) Fix multi-asic behaviour for dropstat (#3059) (6 hours ago) [bktsim]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants