Instead of printing the driver version over and over again if multiple
controllers are used, set a sysctl name for the used driver version.
MFC after: 3 days
Differential D56110
mfi(4)/mrsas(4): Set sysctl name for driver versions consistently Authored by michaelo on Fri, Mar 27, 5:19 PM. Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions it seems more common through the tree to just use "version" here, e.g kern.version or hw.nvidia.version. Comment Actions That's a good point. What to do with the already existing name for mrsas? Add a new one and deprecate the old one in < 16? Comment Actions I checked other Broadcom/AVAGO/LSI drivers (mpr, mpt). They all use "driver_version". So I think they should be either consistently "driver_version" or "version". Comment Actions Good point. We should probably keep it consistent with those. I think aligning all of them to be more similar should probably be considered over the mailing list and in a different revision, if we decide to go down that route. Should we RELNOTES: yes or discuss this with others? Comment Actions I'd at least move it to a separate revision and keep it out of scope of this review. I'd raise a new review next week for all Broadcom/AVAGO/LSI drivers. |