Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177628090
D7453.1794882276.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
926 B
Referenced Files
None
Subscribers
None
D7453.1794882276.diff
View Options
Index: head/sys/boot/i386/libi386/smbios.c
===================================================================
--- head/sys/boot/i386/libi386/smbios.c
+++ head/sys/boot/i386/libi386/smbios.c
@@ -238,6 +238,10 @@
smbios_setenv("smbios.system.serial", addr, 0x07);
smbios_setuuid("smbios.system.uuid", addr + 0x08, smbios.ver);
#endif
+ if (smbios.major >= 2 && smbios.minor >= 4) {
+ smbios_setenv("smbios.system.sku", addr, 0x19);
+ smbios_setenv("smbios.system.family", addr, 0x1a);
+ }
break;
case 2: /* 3.3.3 Base Board (or Module) Information (Type 2) */
@@ -246,7 +250,9 @@
smbios_setenv("smbios.planar.version", addr, 0x06);
#ifdef SMBIOS_SERIAL_NUMBERS
smbios_setenv("smbios.planar.serial", addr, 0x07);
+ smbios_setenv("smbios.planar.tag", addr, 0x08);
#endif
+ smbios_setenv("smbios.planar.location", addr, 0x0a);
break;
case 3: /* 3.3.4 System Enclosure or Chassis (Type 3) */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 2:24 AM (13 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41791560
Default Alt Text
D7453.1794882276.diff (926 B)
Attached To
Mode
D7453: Add smbios sysctl entries for fields for SMBIOS up to version 2.4
Attached
Detach File
Event Timeline