]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/superio.4
disk(9): Fix a few mandoc related errors
[FreeBSD/FreeBSD.git] / share / man / man4 / superio.4
1 .\"
2 .\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 .\"
4 .\" Copyright (c) 2019 Andriy Gapon <avg@FreeBSD.org>
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" SUCH DAMAGE.
26 .\"
27 .\" $FreeBSD$
28 .\"
29 .Dd October 11, 2019
30 .Dt SUPERIO 4
31 .Os
32 .Sh NAME
33 .Nm superio
34 .Nd Super I/O controller and bus driver
35 .Sh SYNOPSIS
36 To compile this driver into the kernel,
37 place the following line in your
38 kernel configuration file:
39 .Bd -ragged -offset indent
40 .Cd "device superio"
41 .Ed
42 .Pp
43 Alternatively, to load the driver as a
44 module at boot time, place the following line in
45 .Xr loader.conf 5 :
46 .Bd -literal -offset indent
47 superio_load="YES"
48 .Ed
49 .Sh DESCRIPTION
50 Super I/O is an I/O controller that combines various low-bandwidth devices
51 that can be functionally unrelated otherwise.
52 A typical Super I/O can contain devices such as
53 .Bl -bullet -compact
54 .It
55 a floppy disk controller
56 .It
57 a parallel port
58 .It
59 a serial port
60 .It
61 a PS/2 mouse and keyboard controller
62 .It
63 a hardware monitoring controller
64 .It
65 a watchdog timer
66 .It
67 a controller for general purpose input-output
68 .El
69 .Pp
70 The
71 .Nm
72 driver provides support for devices residing in the Super I/O controller
73 that can only be accessed or discovered using the controller's interface.
74 Some of the Super I/O devices have standardized interfaces.
75 Such devices either use well-known legacy resources or they are advertised
76 via ACPI or both.
77 They can be configured either using ISA bus hints or they are auto-configured by
78 .Xr acpi 4 .
79 The
80 .Nm
81 driver is not designed to interact with that kind of devices.
82 They can be handled by their respective drivers without any knowledge of the
83 Super I/O specifics.
84 For instance,
85 .Xr fdc 4
86 provides access to the floppy disk controller.
87 .Pp
88 There are other Super I/O devices that do not have any standardized interface.
89 Drivers for those devices can be written using facilities of the
90 .Nm
91 driver.
92 .Pp
93 The driver itself attaches to the ISA bus as all supported controllers are
94 accessed via LPC I/O ports.
95 .Pp
96 The
97 .Nm
98 driver is unusual as it is both a controller driver for a variety of Super I/O
99 controllers and a bus driver for supported devices in those controllers.
100 .Sh HARDWARE
101 The
102 .Nm
103 driver supports a multitude of Super I/O controllers produced by Nuvoton,
104 formerly known as Winbond, and ITE.
105 .Sh SEE ALSO
106 .Xr superio 9
107 .Sh HISTORY
108 The
109 .Nm
110 driver was written by
111 .An Andriy Gapon Aq Mt avg@FreeBSD.org .