From 674a743a01f9fc791fbc6f7c977599dafa84e3f2 Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Sat, 20 May 2006 06:21:42 +0000 Subject: [PATCH] Minimal manpage for the acpi_dock driver. This needs to be fleshed out by someone in the know about this driver. --- share/man/man4/Makefile | 2 ++ share/man/man4/acpi_dock.4 | 62 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 share/man/man4/acpi_dock.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index e74109c38ead..f813b6955571 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -3,6 +3,7 @@ MAN= aac.4 \ acpi.4 \ + ${_acpi_dock.4} \ acpi_thermal.4 \ acpi_video.4 \ adv.4 \ @@ -498,6 +499,7 @@ MLINKS+=xe.4 if_xe.4 MLINKS+=xl.4 if_xl.4 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" +_acpi_dock.4= acpi_dock.4 _amdsmb.4= amdsmb.4 _if_nve.4= if_nve.4 _ipmi.4= ipmi.4 diff --git a/share/man/man4/acpi_dock.4 b/share/man/man4/acpi_dock.4 new file mode 100644 index 000000000000..dda22950eb4e --- /dev/null +++ b/share/man/man4/acpi_dock.4 @@ -0,0 +1,62 @@ +.\" Copyright (c) 2006 Christian Brueffer +.\" All rights reserved. +.\" +.\" 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 May 20, 2006 +.Dt EXAMPLE 4 +.Os +.Sh NAME +.Nm acpi_dock +.Nd "Laptop Docking Station device driver" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device acpi_dock" +.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 +acpi_dock_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for laptop docking stations. +.Sh SEE ALSO +.Xr acpi 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 7.0 . +.Sh AUTHORS +The +.Nm +device driver was written by +.An Mitsuru IWASAKI Aq iwasaki@FreeBSD.org .