-
Notifications
You must be signed in to change notification settings - Fork 344
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
[Accton][as7535-28xb] Modify what onlpdump -x displays #992
base: master
Are you sure you want to change the base?
Conversation
{ | ||
int status = 0; | ||
|
||
data->valid = 0; | ||
|
||
if(attr->index == FPGA_VER) | ||
data->ipmi_tx_data[0] = 0x60; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just squash the fix-up commit into the first one.
$ git rebase -i origin/master # then replace `pick` by `f` (for *f*ixup)
Lastly, please use Markdown to mark up the description to for example mark up code blocks.
{ | ||
int status = 0; | ||
|
||
data->valid = 0; | ||
data->ipmi_tx_data[0] = 0x60; | ||
|
||
if(attr->index == FPGA_VER) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, the rest of the file also seems to add a space after if
and else if
.
58ed2e8
to
85ece2a
Compare
1. Add a sysfs, minor_vsrsion, in x86-64-accton-as7535-28xb-cpld.c 2. Add a sysfs, minor_version, in x86-64-accton-as7535-28xb-fan.c 3. Add 3 sysfses, fpga_minor_version, cpu_cpld_version, and cpu_cpld_minor_version, in x86-64-accton-as7535-28xb-sys.c 4. Modify what onlpdump -x displays. Before modification: CPLD Versions: CPLD:0b FPGA:5b Fan CPLD:0b After modification: CPLD Versions: CPU CPLD(0x65): E1.0A Main CPLD(0x61): 0B.04 Fan CPLD(0x66): 0B.13 FPGA(0x60): 5B.16 Other Versions: BIOS: v48.0b.03.00 ONIE: 2020.11.00.14 BMC: 0.4.00 Signed-off-by: Alex Lai <[email protected]>
85ece2a
to
58e8b22
Compare
[Accton][as7535-28xb] Modify what onlpdump -x displays
Add a sysfs, minor_vsrsion, in x86-64-accton-as7535-28xb-cpld.c
Add a sysfs, minor_version, in x86-64-accton-as7535-28xb-fan.c
Add 3 sysfses, fpga_minor_version, cpu_cpld_version, and
cpu_cpld_minor_version, in x86-64-accton-as7535-28xb-sys.c
Modify what onlpdump -x displays.
Before modification:
After modification: