From 2cce08729b6b1c9600a6040e12271ff138810406 Mon Sep 17 00:00:00 2001 From: Gordon Bergling Date: Sun, 28 Jun 2020 14:36:56 +0000 Subject: [PATCH] MFC r359633, r359656, r360190: Add a manpage for smbios(4). PR: 240252, 163830 Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D23714 --- share/man/man4/Makefile | 1 + share/man/man4/smbios.4 | 65 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 share/man/man4/smbios.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index ef0ab4ee050..1d7bf3c7447 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -485,6 +485,7 @@ MAN= aac.4 \ sk.4 \ ${_smartpqi.4} \ smb.4 \ + smbios.4 \ smbus.4 \ smp.4 \ smsc.4 \ diff --git a/share/man/man4/smbios.4 b/share/man/man4/smbios.4 new file mode 100644 index 00000000000..27769d96a8d --- /dev/null +++ b/share/man/man4/smbios.4 @@ -0,0 +1,65 @@ +.\" Copyright (c) 2020 Gordon Bergling +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd April 22, 2020 +.Dt SMBIOS 4 +.Os +.Sh NAME +.Nm smbios +.Nd "System Management BIOS" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device smbios" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +smbios_load="YES" +.Ed +.Sh DESCRIPTION +The System Management BIOS (SMBIOS) describes hardware components. +.Sh SEE ALSO +.Xr efi 8 +.Rs +.%T System Management BIOS (SMBIOS) Reference Specification +.%N DMTF DSP0134 +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 4.8 . +.Sh AUTHORS +The +.Nm +device driver was written by +.An Matthew N. Dodd Aq Mt winter@jurai.net . +This manual page was written by +.An Gordon Bergling Aq Mt gbergling@gmail.com . -- 2.45.0