Page MenuHomeFreeBSD

mpi3mr: Add firmware version
ClosedPublic

Authored by imp on Nov 13 2023, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 23 2024, 8:52 PM
Unknown Object (File)
Apr 23 2024, 1:09 AM
Unknown Object (File)
Feb 18 2024, 12:52 PM
Unknown Object (File)
Jan 20 2024, 5:18 PM
Unknown Object (File)
Jan 20 2024, 12:17 AM
Unknown Object (File)
Jan 12 2024, 12:29 PM
Unknown Object (File)
Dec 23 2023, 3:07 AM
Unknown Object (File)
Dec 20 2023, 7:50 AM
Subscribers
None

Details

Summary

Publish the firmware version on the card like we do for mps/mpr.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Nov 13 2023, 10:53 PM
imp created this revision.
mav added inline comments.
sys/dev/mpi3mr/mpi3mr.c
2248

I wonder if it really belong in this display function or should be somewhere higher/else?

This revision is now accepted and ready to land.Nov 15 2023, 12:23 AM
sys/dev/mpi3mr/mpi3mr.c
2248

Yea, I'm not entirely sure either. It was a convenient place to add it since this is called only once...
Should I change it?

sys/dev/mpi3mr/mpi3mr.c
2248

Meh, but you could at least reduce code duplication by just printing the produced string above.

Go ahead and move fw version formatting... In hindsight, no sense being grumpy
about it.

This revision now requires review to proceed.Nov 15 2023, 9:22 PM

Was I looking grumpy? I didn't mean to, sorry if so.

This revision is now accepted and ready to land.Nov 15 2023, 9:44 PM
In D42588#972491, @mav wrote:

Was I looking grumpy? I didn't mean to, sorry if so.

No. I was grumpy at your suggestion which was good. I'm sorry about that.

This revision was automatically updated to reflect the committed changes.