Page MenuHomeFreeBSD

Add smbios sysctl entries for fields for SMBIOS up to version 2.4
ClosedPublic

Authored by stevek on Aug 9 2016, 8:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 6:05 AM
Unknown Object (File)
Feb 1 2024, 8:52 PM
Unknown Object (File)
Jan 4 2024, 1:26 AM
Unknown Object (File)
Dec 27 2023, 11:13 AM
Unknown Object (File)
Dec 22 2023, 10:47 PM
Unknown Object (File)
Dec 22 2023, 5:54 AM
Unknown Object (File)
Nov 11 2023, 2:28 PM
Unknown Object (File)
Nov 7 2023, 8:51 AM

Details

Summary

Add sysctls under smbios.system for the following SMBIOS Type 1 fields:
smbios.system.sku - SKU Number (SMBIOS 2.4 and above)
smbios.system.family - Family (SMBIOS 2.4 and above)

Add sysctls under smbios.planar for the following SMBIOS Type 2 fields:
smbios.planar.tag - Asset Tag
smbios.planar.location - Location in Chassis

Sponsored by Juniper Networks, Inc.

Test Plan

Same changes used in Juniper builds of the FreeBSD kernel for some platforms.
On the platforms that have SMBIOS 2.4 or above, the sysctls get populated
with the correct values. (The planar sysctls are populated regardless of
the version of SMBIOS and have been verified.)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

stevek retitled this revision from to Add smbios sysctl entries for fields for SMBIOS up to version 2.4.
stevek updated this object.
stevek edited the test plan for this revision. (Show Details)
jhb added a reviewer: jhb.

I would just say that these are kernel environment variables rather than sysctls in the commit message.

This revision is now accepted and ready to land.Aug 10 2016, 1:50 PM
grembo added a reviewer: grembo.
In D7453#155148, @jhb wrote:

I would just say that these are kernel environment variables rather than sysctls in the commit message.

Good point, I will adjust that. I think my head has been in sysctls way too much lately that my fingers decided to type sysctl when I wrote that.

This revision was automatically updated to reflect the committed changes.