diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 14:02:27 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 14:02:27 -0400 |
| commit | 6d8bdc65446a704d0750217efd05532fc641ea7d (patch) | |
| tree | 8ae6d698b3c9801750a8b117b3842fb369872a3a /static/openbsd/man4/man4.i386 | |
| parent | 2f467bd7ff8f8db0dafa40426166491d7f57f368 (diff) | |
docs: OpenBSD Man Pages Added
Diffstat (limited to 'static/openbsd/man4/man4.i386')
36 files changed, 3014 insertions, 0 deletions
diff --git a/static/openbsd/man4/man4.i386/Makefile b/static/openbsd/man4/man4.i386/Makefile new file mode 100644 index 00000000..e649defc --- /dev/null +++ b/static/openbsd/man4/man4.i386/Makefile @@ -0,0 +1,38 @@ +MAN = amdmsr.4 \ + amdpcib.4 \ + apm.4 \ + autoconf.4 \ + bios.4 \ + cpu.4 \ + esm.4 \ + geodesc.4 \ + glxpcib.4 \ + glxsb.4 \ + gscpcib.4 \ + gscpm.4 \ + gus.4 \ + ichpcib.4 \ + ie.4 \ + intro.4 \ + ioapic.4 \ + joy.4 \ + le.4 \ + lms.4 \ + mem.4 \ + mms.4 \ + mpbios.4 \ + mtrr.4 \ + npx.4 \ + nvram.4 \ + pas.4 \ + pcibios.4 \ + pctr.4 \ + sb.4 \ + skgpio.4 \ + tcpcib.4 \ + uha.4 \ + wds.4 \ + wdt.4 + +include ../../../mandoc.mk + diff --git a/static/openbsd/man4/man4.i386/amdmsr.4 b/static/openbsd/man4/man4.i386/amdmsr.4 new file mode 100644 index 00000000..ed32faf6 --- /dev/null +++ b/static/openbsd/man4/man4.i386/amdmsr.4 @@ -0,0 +1,59 @@ +.\" $OpenBSD: amdmsr.4,v 1.6 2014/01/21 03:15:46 schwarze Exp $ +.\" +.\" MSR access driver for AMD Geode LX CPUs with graphics processor. +.\" Copyright 2008 Marc Balmer <mbalmer@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: January 21 2014 $ +.Dt AMDMSR 4 i386 +.Os +.Sh NAME +.Nm amdmsr +.Nd access MSRs on certain AMD Geode LX systems +.Sh SYNOPSIS +.Cd "amdmsr0 at mainbus?" +.Sh DESCRIPTION +The +.Nm +device provides access to the Model Specific Registers (MSRs) on systems with +an AMD Geode LX CPU and graphics processor. +.Ss IOCTL INTERFACE +MSRs can be read or written via +.Fn ioctl +calls performed on +.Pa /dev/amdmsr . +Declarations and data types are to be found in +.In machine/amdmsr.h . +.Pp +Read or write requests are performed using: +.Bd -literal -offset xxxx +struct amdmsr_req { + u_int32_t addr; /* 32-bit MSR address */ + u_int64_t val; /* 64-bit MSR value */ +}; +.Ed +.Pp +The +.Fa RDMSR +ioctl is used to read an MSR register. +.Pp +The +.Fa WRMSR +ioctl is used to write an MSR register. +.Sh SEE ALSO +.Xr ioctl 2 +.Sh HISTORY +.Nm +support was added in +.Ox 4.4 . diff --git a/static/openbsd/man4/man4.i386/amdpcib.4 b/static/openbsd/man4/man4.i386/amdpcib.4 new file mode 100644 index 00000000..8fb77c39 --- /dev/null +++ b/static/openbsd/man4/man4.i386/amdpcib.4 @@ -0,0 +1,33 @@ +.\" $OpenBSD: amdpcib.4,v 1.5 2015/01/15 20:37:36 schwarze Exp $ +.\" +.\" Marc Balmer, 2007. Public Domain. +.\" +.Dd $Mdocdate: January 15 2015 $ +.Dt AMDPCIB 4 i386 +.Os +.Sh NAME +.Nm amdpcib +.Nd AMD-8111 series LPC bridge and timecounter +.Sh SYNOPSIS +.Cd "amdpcib* at pci?" +.Cd "isa* at amdpcib?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the AMD-8111 LPC bridge and implements a +32/64-bit 14.3 MHz (or variable) timecounter using the HPET timer. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr watchdog 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.3 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Michael Shalayeff . diff --git a/static/openbsd/man4/man4.i386/apm.4 b/static/openbsd/man4/man4.i386/apm.4 new file mode 100644 index 00000000..84775dec --- /dev/null +++ b/static/openbsd/man4/man4.i386/apm.4 @@ -0,0 +1,221 @@ +.\" $OpenBSD: apm.4,v 1.36 2023/01/30 14:43:29 jcs Exp $ +.\" +.\" Copyright (c) 1998 Marco S. Hyman +.\" +.\" Permission to copy all or part of this material for any purpose is +.\" granted provided that the above copyright notice and this paragraph +.\" are duplicated in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' +.\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT +.\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +.\" FOR A PARTICULAR PURPOSE. +.\" +.Dd $Mdocdate: January 30 2023 $ +.Dt APM 4 i386 +.Os +.Sh NAME +.Nm apm +.Nd advanced power management device interface +.Sh SYNOPSIS +.Cd "apm0 at bios0 flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver provides an interface to the Advanced Power Management +.Pq APM +BIOS functions. +The driver supports versions 1.0, 1.1, and 1.2 interface specifications. +.Pp +This driver also provides an interface to +.Xr acpi 4 +on some machines. +.Pp +The low two bytes of the flags specify the version of the specification +driver should conform to in binary decimal notation. +The value of 0x0101 would specify version 1.1 of the interface +specification to be used. +.Pp +The value of 0x10000 specifies whether to leave interrupts enabled +when calling APM BIOS routines. +This is needed for some +.Tn IBM +laptops, the symptoms are +hangs and freezes on suspend, stand by, and hibernation activities. +.Pp +The value of 0x20000 specifies to swap the bytes of the battery +life estimation (the DX register) as given from the APM BIOS. +This is needed for some +.Tn SONY VAIO +laptops, such as some 505 models. +.Pp +Configuration options: +.Pp +.Bl -tag -width DIAGNOSTIC -compact -offset indent +.It Dv APMDEBUG +Enable various driver status messages. +.It Dv DIAGNOSTIC +Enable debugging messages. +.It Dv DEBUG +Enable other debugging messages. +.El +.Pp +The +.Nm +driver implements the following +.Xr ioctl 2 +calls. +They are defined in +.In machine/apmvar.h . +.Bl -tag -width Ds +.It Dv APM_IOC_REJECT +.Em Not implemented . DO NOT USE . +.It Dv APM_IOC_STANDBY +.Pq Li "no parameters" +Request +.Dq standby +mode. +.It Dv APM_IOC_SUSPEND +.Pq Li "no parameters" +Request +.Dq suspend +mode. +.It Dv APM_IOC_HIBERNATE +.Pq Li "no parameters" +Request +.Dq hibernate +mode. +.It Dv APM_IOC_GETPOWER +.Pq Li "struct apm_power_info" +Request the current power state. +The argument structure is as follows: +.Bd -literal -offset indent +struct apm_power_info { + u_char battery_state; + u_char ac_state; + u_char battery_life; + u_char spare1; + u_int minutes_left; + u_int spare2[6]; +}; +.Ed +.Pp +The following values are defined for +.Va battery_state : +.Bl -tag -width Ds +.It Dv APM_BATT_HIGH +Battery has a high state of charge. +.It Dv APM_BATT_LOW +Battery has a low state of charge. +.It Dv APM_BATT_CRITICAL +Battery has a critical state of charge. +.It Dv APM_BATT_CHARGING +Battery is not high, low, or critical and is currently charging. +.It Dv APM_BATT_UNKNOWN +Cannot read the current battery state. +.It Dv APM_BATTERY_ABSENT +No battery installed. +.El +.Pp +The following values are defined for +.Va ac_state : +.Bl -tag -width Ds +.It Dv APM_AC_OFF +External power not detected. +.It Dv APM_AC_ON +External power detected. +.It Dv APM_AC_BACKUP +Backup power in use. +.It Dv APM_AC_UNKNOWN +External power state unknown. +.El +.Pp +The +.Va battery_life +value contains the estimated percentage of battery life available. +100% indicates a full charge. +.Pp +The +.Va minutes_left +value contains the estimated number of minutes of battery life +remaining. +.It Dv APM_IOC_DEV_CTL +.Pq Li "struct apm_ctl" +Allows an application to directly set the +APM operating mode. +The argument structure is as follows: +.Bd -literal -offset indent +struct apm_ctl { + u_int dev; + u_int mode; +}; +.Ed +.Pp +.Va dev +indicates the device, typically +.Dv APM_DEV_ALLDEVS . +.Pp +.Va mode +indicates the desired operating mode. +Possible values are +.Bl -tag -width Ds -compact -offset indent +.It Dv APM_SYS_READY +.It Dv APM_SYS_STANDBY +.It Dv APM_SYS_SUSPEND +.It Dv APM_SYS_OFF +.It Dv APM_LASTREQ_INPROG +.It Dv APM_LASTREQ_REJECTED +.El +.It Dv APM_IOC_PRN_CTL +.Pq Li "int" +This +.Xr ioctl 2 +controls message output by the APM +driver when a power change event is detected. +The integer parameter is one of: +.Bl -tag -width Ds +.It Dv APM_PRINT_ON +All power change events result in a message. +This is the normal operating mode for the driver. +.It Dv APM_PRINT_OFF +Power change event messages are suppressed. +.It Dv APM_PRINT_PCT +Power change event messages are suppressed unless the estimated +battery life percentage changes. +.El +.El +.Sh FILES +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. +May only be opened read-only. +May be opened by multiple concurrent users. +.It /dev/apmctl +Power management control device. +May be opened read-write or write-only. +May only be opened by one user at a time. +An attempt to open the file when in use will fail, returning +.Er EBUSY . +.El +.Sh SEE ALSO +.Xr acpi 4 , +.Xr intro 4 , +.Xr apm 8 , +.Xr apmd 8 , +.Xr halt 8 +.Sh HISTORY +The +.Nm +driver source code contains these copyrights: +.Pp +.Bl -item -compact +.It +.Li Copyright (c) 1995 John T. Kohl. All rights reserved. +.It +.Li Copyright (C) 1994 by HOSOKAWA Tatsumi <hosokawa@mt.cs.keio.ac.jp> +.El +.Pp +\&...and has been hacked on by many others since. +.Sh BUGS +Not all the BIOSes support power down the way we are attempting +to execute it. +.Pp +Not all BIOS vendors even read the specification. diff --git a/static/openbsd/man4/man4.i386/autoconf.4 b/static/openbsd/man4/man4.i386/autoconf.4 new file mode 100644 index 00000000..e9e59aec --- /dev/null +++ b/static/openbsd/man4/man4.i386/autoconf.4 @@ -0,0 +1,52 @@ +.\" $OpenBSD: autoconf.4,v 1.7 2007/05/31 19:19:54 jmc Exp $ +.\" +.\" Copyright (c) 1994 Christopher G. Demetriou +.\" 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. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Christopher G. Demetriou. +.\" 3. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt AUTOCONF 4 i386 +.Os +.Sh NAME +.Nm autoconf +.Nd diagnostics from the autoconfiguration code +.Sh DESCRIPTION +When +.Ox +bootstraps it probes the innards of the machine +on which it is running +and locates controllers, drives, and other devices, printing out +what it finds on the console. +This procedure is driven by a system configuration table which is processed by +.Xr config 8 +and compiled into each kernel. +Devices which exist in the machine but are not configured into the +kernel are usually not detected. +.Sh SEE ALSO +.Xr intro 4 , +.Xr boot_i386 8 , +.Xr config 8 diff --git a/static/openbsd/man4/man4.i386/bios.4 b/static/openbsd/man4/man4.i386/bios.4 new file mode 100644 index 00000000..d33f3548 --- /dev/null +++ b/static/openbsd/man4/man4.i386/bios.4 @@ -0,0 +1,95 @@ +.\" $OpenBSD: bios.4,v 1.11 2007/05/31 19:19:54 jmc Exp $ +.\" +.\" Copyright (c) 2001 Michael Shalayeff +.\" 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 ``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 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 MIND, +.\" 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. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt BIOS 4 i386 +.Os +.Sh NAME +.Nm bios +.Nd a driver for PC Firmware, aka BIOS +.Sh SYNOPSIS +.Cd "bios0 at mainbus0 flags 0x0000" +.Cd "apm0 at bios0 flags 0x0000" +.Cd "pcibios0 at bios0 flags 0x0000" +.Sh DESCRIPTION +.Ox +provides support for PC firmware, aka BIOS and some of its functions, +currently: APM subsystem, BIOS32 extensions, PCI BIOS subsystem. +.Pp +The +.Nm +driver also identifies BIOS type (such as "AT/286+", which is +almost always used in modern machines) and BIOS image date stamp, +which is, presumably, the day the BIOS image was compiled by vendor +and could be used as a crude BIOS version identification. +The +.Nm +driver also scans the ISA memory hole at 640K-1M for optional +ROM images and reserves the space from being used by various +ISA devices, for example +.Xr pcic 4 . +.Pp +Flags is a bit mask, each bit of which specifies which functions +of the driver to disable. +.Bl -tag -width 0x0001 +.It 0x0001 +BIOS32 attachment. +.Pp +Do not probe or attach to BIOS32 extensions. +BIOS32 is one of +the interfaces to the PCI BIOS configuration tables. +.It 0x0002 +PCI BIOS attachment. +.Pp +Do not probe or attach the +.Xr pcibios 4 +device, which performs certain PCI configuration tasks. +.It 0x0004 +Do not perform the scan for ROM images in the ISA memory hole +(0xc0000 - 0xf0000 physical addresses). +.It 0x0008 +SMBIOS attachment. +.Pp +Do not probe or attach to SMBIOS. +SMBIOS provides greater detail about system hardware configuration +and is required to attach +.Xr ipmi 4 +on most systems. +.El +.Sh SEE ALSO +.Xr apm 4 , +.Xr intro 4 , +.Xr pcibios 4 , +.Xr pcmcia 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Ox 2.2 . +.Sh BUGS +On some machines optional ROM images do not pass checksum check, +but it's considered better to reserve space for those anyway, +choosing lesser evil from many. diff --git a/static/openbsd/man4/man4.i386/cpu.4 b/static/openbsd/man4/man4.i386/cpu.4 new file mode 100644 index 00000000..d980f591 --- /dev/null +++ b/static/openbsd/man4/man4.i386/cpu.4 @@ -0,0 +1,99 @@ +.\" $OpenBSD: cpu.4,v 1.20 2024/09/10 17:01:09 tb Exp $ +.\" +.\" Copyright (c) 2004 Ted Unangst +.\" 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 ``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 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. +.\" +.Dd $Mdocdate: September 10 2024 $ +.Dt CPU 4 i386 +.Os +.Sh NAME +.Nm cpu +.Nd Central Processing Unit +.Sh SYNOPSIS +.Cd "cpu0 at mainbus?" +.Cd "cpu* at mainbus?" +.Sh DESCRIPTION +Several processor models have additional features that extend their base +functionality, such as power and frequency control or thermal monitoring. +.Pp +The +.Xr sysctl 2 +.Va hw.cpuspeed +returns the current operating frequency of the processor, +though on some processors this value may be only an approximation. +If possible, speed may be adjusted by altering +.Va hw.setperf +from 0 to 100, +representing percentage of maximum speed. +.Pp +There are several possible implementations for speed adjustment, +all transparent to the user. +In systems with more than one control capability, they are preferred in the +order given: +.Bl -tag -width tenletters +.It LongRun +Found on Transmeta Crusoe processors, offering frequency scaling with numerous +positions. +The processor dynamically adjusts frequency in response to load; the setperf +value is interpreted as the maximum. +.It EST +Enhanced SpeedStep found on Intel Pentium M processors, +offering frequency scaling with numerous positions. +.It SpeedStep +Found on some Intel Pentium 3 and newer mobile chips, +it is capable of adjusting frequency between a low and high value. +It is only enabled on some chipsets. +.It TCC +Thermal Control Circuit found on Intel Pentium 4 and newer processors, +it can adjust processor duty cycle in 12.5 percent increments. +.It PowerNow +Found on various AMD processors. +It currently only supports a limited set of models +in the K6, K7, and K8 families. +.El +.Pp +The presence of extended instruction sets can be determined by the sysctl +.Va machdep : +.Bl -tag -width "tenletters" +.It osfxsr +Supports the fxsave instruction. +.It sse +Supports the SSE instruction set. +.It sse2 +Supports the SSE2 instruction set. +.It xcrypt +Supports the VIA AES encryption instruction set. +.El +.Pp +The sysctl +.Va hw.sensors +returns the current temperature reported by the processor. +.Sh SEE ALSO +.Xr sysctl 8 +.Sh BUGS +Due to the way in which thermal information is reported on Intel processors, +the temperature may be off by exactly +/-15 degrees C. +.Pp +For multiprocessor kernels with more than one CPU sensor, +processors report identical temperatures +since the temperature is taken from the processor running the sensors update. diff --git a/static/openbsd/man4/man4.i386/esm.4 b/static/openbsd/man4/man4.i386/esm.4 new file mode 100644 index 00000000..395ef109 --- /dev/null +++ b/static/openbsd/man4/man4.i386/esm.4 @@ -0,0 +1,89 @@ +.\" $OpenBSD: esm.4,v 1.6 2013/07/16 16:05:49 schwarze Exp $ +.\" +.\" Copyright (c) 2005 David Gwynne <dlg@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.Dd $Mdocdate: July 16 2013 $ +.Dt ESM 4 i386 +.Os +.Sh NAME +.Nm esm +.Nd Dell Embedded Server Management +.Sh SYNOPSIS +.Cd "esm0 at mainbus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the monitoring of the environmental sensors +present in a variety of Dell servers. +The hardware monitoring is accessed via the +.Va hw.sensors +.Xr sysctl 8 +variable. +.Pp +Devices compatible with the +.Nm +driver can provide an arbitrary set of sensors which may include the +following types: +.Bl -column "temperature" "Units" -offset indent +.It Sy "Sensor" Ta Sy "Units" +.It Li "temperature" Ta "uK" +.It Li "fan" Ta "RPM" +.It Li "volts" Ta "uVDC" +.El +.Pp +Sensor data is updated every 10 seconds. +.Pp +The Embedded Server Management framework has been replaced in more recent +Dell systems with the Intelligent Platform Management Interface. +Servers using the Intelligent Platform Management Interface may be +monitored by the +.Xr ipmi 4 +driver. +.Sh WATCHDOG +ESM provides +.Xr watchdog 4 +timer functionality. +Once configured, if the watchdog is not reset within +a certain period of time, +it will timeout and the server will reset. +The reset will occur regardless of the recoverability of the hang or crash. +.Pp +Example of enabling a watchdog: +.Pp +.Dl # sysctl kern.watchdog.period=10 +.Pp +In this case if the watchdog is not reset, +it'll reboot the server after roughly 10 seconds. +.Pp +Example of disabling the watchdog: +.Pp +.Dl # sysctl kern.watchdog.period=0 +.Sh SEE ALSO +.Xr intro 4 , +.Xr ipmi 4 , +.Xr watchdog 4 , +.Xr sensorsd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.9 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Jordan Hargrave Aq Mt jordan@openbsd.org +and +.An David Gwynne Aq Mt dlg@openbsd.org . diff --git a/static/openbsd/man4/man4.i386/geodesc.4 b/static/openbsd/man4/man4.i386/geodesc.4 new file mode 100644 index 00000000..ed377952 --- /dev/null +++ b/static/openbsd/man4/man4.i386/geodesc.4 @@ -0,0 +1,49 @@ +.\" $OpenBSD: geodesc.4,v 1.10 2007/05/31 19:19:54 jmc Exp $ +.\" +.\"Copyright (c) 2003 Markus Friedl <markus@openbsd.org> +.\" +.\"Permission to use, copy, modify, and distribute this software for any +.\"purpose with or without fee is hereby granted, provided that the above +.\"copyright notice and this permission notice appear in all copies. +.\" +.\"THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\"WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\"MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\"ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt GEODESC 4 i386 +.Os +.Sh NAME +.Nm geodesc +.Nd Geode SC1100/SCx200 IAOC watchdog timer device +.Sh SYNOPSIS +.Cd "geodesc* at pci?" +.Sh DESCRIPTION +The +.Nm +driver supports the watchdog timer of the Geode SC1100. +.Pp +The Geode SC1100/SCx200 is a member of the AMD +Information Appliance On a Chip (IAOC) family +of fully integrated x86 system chips. +.Pp +The watchdog timer may be configured via +.Xr sysctl 8 . +.Sh SEE ALSO +.Xr watchdog 4 , +.Xr sysctl 8 +.Sh HISTORY +Support for the +.Nm +was added in +.Ox 3.4 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Markus Friedl . diff --git a/static/openbsd/man4/man4.i386/glxpcib.4 b/static/openbsd/man4/man4.i386/glxpcib.4 new file mode 100644 index 00000000..56405bc9 --- /dev/null +++ b/static/openbsd/man4/man4.i386/glxpcib.4 @@ -0,0 +1,46 @@ +.\" $OpenBSD: glxpcib.4,v 1.11 2013/08/14 06:32:33 jmc Exp $ +.\" +.\" Michael Shalayeff, 2007. Public Domain. +.\" +.Dd $Mdocdate: August 14 2013 $ +.Dt GLXPCIB 4 i386 +.Os +.Sh NAME +.Nm glxpcib +.Nd AMD CS5536 PCI-ISA bridge with timecounter, watchdog timer, and GPIO +.Sh SYNOPSIS +.Cd "glxpcib* at pci?" +.Cd "gpio* at glxpcib?" +.Cd "iic* at glxpcib?" +.Cd "isa* at glxpcib?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the AMD Geode CS5536 Companion chip. +This device contains a number of components, including a PCI-ISA bridge. +Besides the core functionality, the +.Nm +driver implements a 32-bit 3.5 MHz timecounter, a watchdog timer device, +a GPIO device, and an SMBus interface. +.Sh SEE ALSO +.Xr gpio 4 , +.Xr iic 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr pcib 4 , +.Xr watchdog 4 , +.Xr gpioctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.3 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Michael Shalayeff . +The GPIO parts were added by +.An Marc Balmer Aq Mt mbalmer@openbsd.org . diff --git a/static/openbsd/man4/man4.i386/glxsb.4 b/static/openbsd/man4/man4.i386/glxsb.4 new file mode 100644 index 00000000..8c76274a --- /dev/null +++ b/static/openbsd/man4/man4.i386/glxsb.4 @@ -0,0 +1,57 @@ +.\" $OpenBSD: glxsb.4,v 1.7 2014/08/20 11:23:41 mikeb Exp $ +.\" +.\"Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org> +.\" +.\"Permission to use, copy, modify, and distribute this software for any +.\"purpose with or without fee is hereby granted, provided that the above +.\"copyright notice and this permission notice appear in all copies. +.\" +.\"THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\"WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\"MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\"ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.\" +.Dd $Mdocdate: August 20 2014 $ +.Dt GLXSB 4 i386 +.Os +.Sh NAME +.Nm glxsb +.Nd Geode LX Security Block crypto accelerator +.Sh SYNOPSIS +.Cd "glxsb* at pci?" +.Sh DESCRIPTION +The +.Nm +driver supports the security block of the Geode LX series processors. +The Geode LX is a member of the AMD Geode family +of integrated x86 system chips. +.Pp +Driven by periodic checks for available data from the generator, +.Nm +supplies entropy to the +.Xr random 4 +driver for common usage. +.Pp +.Nm +also supports acceleration of AES-CBC operations for +.Xr ipsec 4 . +.Sh SEE ALSO +.Xr intro 4 , +.Xr ipsec 4 , +.Xr pci 4 , +.Xr random 4 , +.Xr crypto 9 +.Sh HISTORY +Support for +.Nm +was added in +.Ox 4.1 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Tom Cosgrove . diff --git a/static/openbsd/man4/man4.i386/gscpcib.4 b/static/openbsd/man4/man4.i386/gscpcib.4 new file mode 100644 index 00000000..76d8a705 --- /dev/null +++ b/static/openbsd/man4/man4.i386/gscpcib.4 @@ -0,0 +1,65 @@ +.\" $OpenBSD: gscpcib.4,v 1.9 2013/07/16 16:05:49 schwarze Exp $ +.\" +.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 16 2013 $ +.Dt GSCPCIB 4 i386 +.Os +.Sh NAME +.Nm gscpcib +.Nd National Semiconductor Geode SC1100 PCI-ISA bridge with GPIO +.Sh SYNOPSIS +.Cd "gscpcib* at pci?" +.Cd "isa* at gscpcib?" +.Cd "gpio* at gscpcib?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the National Semiconductor Geode SC1100 +System-on-Chip +.Tn PCI-ISA +bridge. +This device is a +.Tn PCI-ISA +bridge, but with some additional sub-devices. +Besides the core functionality, the +.Nm +driver provides support for the +.Tn GPIO +interface of this device. +.Pp +The device has 64 I/O pins which can be accessed +through the +.Xr gpio 4 +framework. +The +.Xr gpioctl 8 +program provides a convenient way to manipulate these pins from userland. +.Sh SEE ALSO +.Xr gpio 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr gpioctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.6 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Alexander Yurchenko Aq Mt grange@openbsd.org . diff --git a/static/openbsd/man4/man4.i386/gscpm.4 b/static/openbsd/man4/man4.i386/gscpm.4 new file mode 100644 index 00000000..d520ab3a --- /dev/null +++ b/static/openbsd/man4/man4.i386/gscpm.4 @@ -0,0 +1,43 @@ +.\" $OpenBSD: gscpm.4,v 1.5 2013/07/16 16:05:49 schwarze Exp $ +.\" +.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 16 2013 $ +.Dt GSCPM 4 i386 +.Os +.Sh NAME +.Nm gscpm +.Nd National Semiconductor Geode SC1100 SMI/ACPI module +.Sh SYNOPSIS +.Cd "gscpm* at pci?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the National Semiconductor Geode SC1100 +System-on-Chip SMI/ACPI module. +Only power management timer is supported for now. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.7 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Alexander Yurchenko Aq Mt grange@openbsd.org . diff --git a/static/openbsd/man4/man4.i386/gus.4 b/static/openbsd/man4/man4.i386/gus.4 new file mode 100644 index 00000000..ae1e27db --- /dev/null +++ b/static/openbsd/man4/man4.i386/gus.4 @@ -0,0 +1,100 @@ +.\" $OpenBSD: gus.4,v 1.15 2008/06/26 05:42:07 ray Exp $ +.\" $NetBSD: gus.4,v 1.7 1997/10/08 21:59:55 jtc Exp $ +.\" +.\" Copyright (c) 1996 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by John T. Kohl. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 REGENTS 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. +.\" +.Dd $Mdocdate: June 26 2008 $ +.Dt GUS 4 i386 +.Os +.Sh NAME +.Nm gus +.Nd Gravis UltraSound/UltraSound MAX audio device +.Sh SYNOPSIS +.Cd "gus0 at isa? port 0x220 irq 7 drq 1 drq2 6" +.Cd "gus* at isapnp?" +.Cd "audio* at gus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Gravis UltraSound (GUS) and GUS MAX +audio cards. +Both cards have on-board memory which is used for seamless playback of samples. +They can play back 8- or 16-bit samples at up to 44.1kHz. +They can record 8-bit samples at up to 44.1kHz. +The UltraSound MAX is a full-duplex sound device, and if configured with two +DRQ channels can be used for simultaneous playback and recording. +The I/O port base is jumper-selected, and may be chosen from 0x210-0x260 in +steps of 0x10. +(The normal setting is 0x220.) +The GUS takes 16 ports at its base address and 8 ports at its base address + +0x100. +.Pp +The IRQ is software programmed, so you may select any IRQ from the set +{3,5,7,9,11,12,15}. +The DRQ lines are software programmed, and may be chosen from {1,3,5,6,7}. +The +.Dq drq2 +field in the configuration file line specifies a second DRQ line for recording. +If there is no drq2 field in the config file, the playback channel will be +used for recording DMA and only half-duplex mode will be available. +.Pp +The Gravis UltraSound MAX has an additional CODEC onboard which is +addressed with four ports at an offset of 0x10C from the base ports +(0x31C-0x36C). +.Sh SEE ALSO +.Xr audio 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr isapnp 4 +.Sh REFERENCES +Gravis UltraSound Low-Level Toolkit, Revision 2.01, 20 May 1993, +published by Advanced Gravis and Forte Technologies. +.Pp +If you wish to use +.Xr wdc 4 +on the ISAPNP version of the card, and it comes up as DISABLED, +Gravis has a PNPCFG.EXE program which re-enables it. +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.1 . +.Sh BUGS +The full-duplex features of the GUS MAX have not been fully tested, and +full-duplex on the original GUS may not be possible at all. +.Pp +Only two voices on the GF1 synthesizer chip are used by this driver (for +left and right channels). +.Pp +Manipulating the mixer while audio samples are playing can lead to +device driver confusion (and maybe even a system panic). +.Pp +Manipulating the mixer device seems to create pregnant system pauses, +probably due to excessive interrupt masking. +.Pp +The joystick and MIDI port interfaces are not supported. diff --git a/static/openbsd/man4/man4.i386/ichpcib.4 b/static/openbsd/man4/man4.i386/ichpcib.4 new file mode 100644 index 00000000..cd20ca72 --- /dev/null +++ b/static/openbsd/man4/man4.i386/ichpcib.4 @@ -0,0 +1,89 @@ +.\" $OpenBSD: ichpcib.4,v 1.12 2013/07/16 16:05:49 schwarze Exp $ +.\" +.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 16 2013 $ +.Dt ICHPCIB 4 i386 +.Os +.Sh NAME +.Nm ichpcib +.Nd Intel ICHx/ICHx-M LPC bridges +.Sh SYNOPSIS +.Cd "ichpcib* at pci?" +.Cd "isa* at ichpcib?" +.Sh DESCRIPTION +The +.Nm +driver supports Intel +.Tn ICH , +.Tn ICH0 , +.Tn ICH2 , +.Tn ICH2-M , +.Tn ICH3-S , +.Tn ICH3-M , +.Tn ICH4 , +.Tn ICH4-M , +.Tn ICH5 , +.Tn ICH6 , +.Tn ICH7 , +.Tn ICH7-M , +.Tn ICH8 , +.Tn ICH8-M , +.Tn ICH9 , +.Tn 6300ESB +and +.Tn 6321ESB +LPC bridges. +These devices are mostly usual +.Tn PCI-ISA +bridges but with some additional power management and monitoring +capabilities. +Besides the core functionality, the +.Nm +driver provides support for the Intel SpeedStep technology, available +for the +.Tn ICH2-M , +.Tn ICH3-M , +and +.Tn ICH4-M +chipsets, and power management timer available for all chipsets. +It allows the user to control CPU frequency with the +.Xr sysctl 8 +program. +.Sh SEE ALSO +.Xr cpu 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr sysctl 8 +.Sh HISTORY +Intel SpeedStep support for the ICHx-M chipsets first appeared in +.Ox 3.5 +as part of the +.Xr pcib 4 +driver. +The +.Nm +driver first appeared in +.Ox 3.6 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Alexander Yurchenko Aq Mt grange@openbsd.org . +.Sh CAVEATS +On some old machines with the +.Tn ICH2-M +chipset, Intel SpeedStep isn't available. diff --git a/static/openbsd/man4/man4.i386/ie.4 b/static/openbsd/man4/man4.i386/ie.4 new file mode 100644 index 00000000..38d78949 --- /dev/null +++ b/static/openbsd/man4/man4.i386/ie.4 @@ -0,0 +1,60 @@ +.\" $OpenBSD: ie.4,v 1.17 2023/09/11 04:56:31 jsg Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.Dd $Mdocdate: September 11 2023 $ +.Dt IE 4 i386 +.Os +.Sh NAME +.Nm ie +.Nd Intel i82586 Ethernet device +.Sh SYNOPSIS +.Cd "ie0 at isa? port 0x360 irq 7 iomem 0xd0000" +.Cd "ie1 at isa? port 0x300 irq 10" +.Sh DESCRIPTION +The +.Nm +device driver supports Intel 82586-based Ethernet cards. +This includes the following network adapters: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 3Com 3C507 +.It AT&T StarLAN 10 +.It AT&T EN100 +.It AT&T StarLAN Fiber +.It Intel EtherExpress 16 +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +To view a list of media types and options supported by your card try +.Dq ifconfig <device> media . +For example, +.Dq ifconfig ie0 media . +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr hostname.if 5 , +.Xr ifconfig 8 diff --git a/static/openbsd/man4/man4.i386/intro.4 b/static/openbsd/man4/man4.i386/intro.4 new file mode 100644 index 00000000..43d4d77f --- /dev/null +++ b/static/openbsd/man4/man4.i386/intro.4 @@ -0,0 +1,127 @@ +.\" $OpenBSD: intro.4,v 1.87 2023/05/03 22:03:18 jmc Exp $ +.\" +.\" Copyright (c) 1983, 1986, 1991 Regents of the University of California. +.\" 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. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. +.\" +.Dd $Mdocdate: May 3 2023 $ +.Dt INTRO 4 i386 +.Os +.Sh NAME +.Nm intro +.Nd introduction to special files and hardware support +.Sh DESCRIPTION +The manual pages in section 4 describe the special files, +related driver functions, and networking support +available in the system. +In this part of the manual, the SYNOPSIS section of +each configurable device gives a sample specification +for use in constructing a system description for the +.Xr config 8 +program. +The DIAGNOSTICS section lists messages which may appear on the console +and/or in the system error log +.Pa /var/log/messages +due to errors in device operation; +see +.Xr syslogd 8 +for more information. +.Pp +This section contains both devices +which may be configured into the system +and network related information. +The networking support is introduced in +.Xr netintro 4 . +.Sh DEVICE SUPPORT +This section describes the hardware supported on the i386 +(PC-clone) platform. +Software support for these devices comes in two forms. +A hardware device may be supported with a character or block +.Em device driver , +or it may be used within the networking subsystem and have a +.Em network interface driver . +Block and character devices are accessed through files in the file +system of a special type; see +.Xr mknod 8 . +Network interfaces are indirectly accessed through the interprocess +communication facilities provided by the system; see +.Xr socket 2 . +.Pp +A hardware device is identified to the system at configuration time +and the appropriate device or network interface driver is then compiled +into the system. +When the resultant system is booted, the autoconfiguration facilities +in the system probe for the device and, if found, enable the software +support for it. +If a device does not respond at autoconfiguration +time, it is not accessible at any time afterwards. +To enable a device which did not autoconfigure, +the system will have to be rebooted. +.Pp +The autoconfiguration system is described in +.Xr autoconf 4 . +.Sh LIST OF DEVICES +A complete list of available devices is contained within the pages +describing the system buses and controllers. +For example, a PCI device would be listed in the +.Xr pci 4 +man page. +The following buses and controllers list these devices: +.Pp +.Bl -tag -width "cardbus(4)XX" -offset 3n -compact +.It Xr acpi 4 +Advanced Configuration and Power Interface +.It Xr cardbus 4 +introduction to CardBus support +.It Xr eisa 4 +introduction to EISA bus support +.It Xr iic 4 +Inter IC (I2C) bus +.It Xr isa 4 +introduction to ISA bus support +.It Xr isapnp 4 +introduction to ISA Plug-and-Play support +.It Xr onewire 4 +1-Wire bus +.It Xr pci 4 +introduction to PCI bus support +.It Xr pcmcia 4 +introduction to PCMCIA (PC Card) support +.It Xr usb 4 +introduction to Universal Serial Bus support +.It Xr virtio 4 +VirtIO support driver +.El +.Sh SEE ALSO +.Xr autoconf 4 , +.Xr cpu 4 , +.Xr config 8 +.Sh HISTORY +The +i386 +.Nm intro +first appeared in +.Nx 1.0 . diff --git a/static/openbsd/man4/man4.i386/ioapic.4 b/static/openbsd/man4/man4.i386/ioapic.4 new file mode 100644 index 00000000..ddd69119 --- /dev/null +++ b/static/openbsd/man4/man4.i386/ioapic.4 @@ -0,0 +1,46 @@ +.\" $OpenBSD: ioapic.4,v 1.3 2007/05/31 19:19:55 jmc Exp $ +.\" +.\" Copyright (c) 2006 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt IOAPIC 4 i386 +.Os +.Sh NAME +.Nm ioapic +.Nd I/O Advanced Programmable Interrupt Controller +.Sh SYNOPSIS +.Cd "ioapic0 at mainbus0" +.Sh DESCRIPTION +.Nm +is an I/O Advanced Programmable Interrupt Controller (APIC). +It provides interrupt management for systems with multiple I/O +subsystems and can distribute interrupts across multiple processors. +.Sh SEE ALSO +.Xr intro 4 +.Sh STANDARDS +.Nm +is based on +Intel's 82093AA I/O Advanced Programmable Interrupt Controller (I/O APIC) +specification. +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.5 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Bill Sommerfield . diff --git a/static/openbsd/man4/man4.i386/joy.4 b/static/openbsd/man4/man4.i386/joy.4 new file mode 100644 index 00000000..a8ebfaf9 --- /dev/null +++ b/static/openbsd/man4/man4.i386/joy.4 @@ -0,0 +1,152 @@ +.\" $OpenBSD: joy.4,v 1.15 2015/01/15 20:37:36 schwarze Exp $ +.\" +.\" Copyright (c) 1996 Matthieu Herrb +.\" 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. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Christopher G. Demetriou. +.\" 3. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.\" $NetBSD: joy.4,v 1.2 1996/03/31 00:17:43 perry Exp $ +.\" +.Dd $Mdocdate: January 15 2015 $ +.Dt JOY 4 i386 +.Os +.Sh NAME +.Nm joy +.Nd games adapter +.Sh SYNOPSIS +.Cd "joy0 at isa? port 0x201" +.Cd "joy* at isapnp?" +.Sh DESCRIPTION +This driver provides access to the games adapter. +The lower bit in the minor device number selects the joystick: 0 is the first +joystick and 1 is the second. +.Pp +The game control adapter allows up to two joysticks to be attached to +the system. +The adapter plus the driver convert the present resistive value to a relative +joystick position. +On receipt of an output signal, four timing circuits are started. +By determining the time required for the circuit to time-out (a function of +the resistance), the paddle position can be determined. +The adapter could be used as a general purpose I/O card with four +analog (resistive) inputs plus four digital input points. +.Pp +Applications may call +.Fn ioctl +on a game adapter driver file descriptor +to set and get the offsets of the two potentiometers and the maximum +time-out value for the circuit. +The +.Fn ioctl +commands are listed in +.In machine/joystick.h +and currently are: +.Pp +.Bl -tag -width JOY_GET_X_OFFSET -offset indent -compact +.It JOY_SETTIMEOUT +Sets the maximum time-out for the adapter. +.It JOY_GETTIMEOUT +Returns the current maximum time-out. +.It JOY_SET_X_OFFSET +Sets an offset on X value. +.It JOY_GET_X_OFFSET +Returns the current X offset. +.It JOY_SET_Y_OFFSET +Sets an offset on Y value. +.It JOY_GET_Y_OFFSET +Returns the current Y offset. +.El +.Pp +All of these commands take an integer parameter. +.Pp +Read() on the file descriptor returns a +.Fa joystick +structure: +.Bd -literal -offset indent +struct joystick { + int x; + int y; + int b1; + int b2; +}; +.Ed +.Pp +The fields have the following functions: +.Pp +.Bl -tag -width xxx -offset indent -compact +.It Fa x +Joystick's current X coordinate (or position of paddle 1). +.It Fa y +Joystick's current Y coordinate (or position of paddle 2). +.It Fa b1 +Current state of button 1. +.It Fa b2 +Current state of button 2. +.El +.Pp +The +.Fa b1 +and +.Fa b2 +fields in struct joystick are set to 1 if the corresponding button is down, +or 0 otherwise. +.Pp +The X and Y coordinates are supposed to be between 0 and 255 for a +good joystick and a good adapter. +Unfortunately, because of the hardware hack that is used to measure the +position (by measuring the time needed to discharge an RC circuit made from +the joystick's potentiometer and a capacitor on the adapter), calibration +is needed to determine exactly what values are returned for a specific +joystick/adapter combination. +Incorrect hardware can yield negative or > 255 values. +.Pp +A typical calibration procedure uses the values returned at lower-left, +center, and upper-right positions of the joystick to compute the relative +position. +.Pp +This calibration is not part of the driver. +.Sh FILES +.Bl -tag -width /dev/joy0 -compact +.It Pa /dev/joy0 +first joystick +.It Pa /dev/joy1 +second joystick +.El +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr intro 4 , +.Xr isa 4 , +.Xr isapnp 4 +.Sh AUTHORS +.An -nosplit +.An Jean-Marc Zucconi +wrote the +.Fx +driver. +.An Matthieu Herrb +ported it to +.Ox +and wrote this manual page. diff --git a/static/openbsd/man4/man4.i386/le.4 b/static/openbsd/man4/man4.i386/le.4 new file mode 100644 index 00000000..3654390c --- /dev/null +++ b/static/openbsd/man4/man4.i386/le.4 @@ -0,0 +1,58 @@ +.\" $OpenBSD: le.4,v 1.14 2007/05/31 19:19:55 jmc Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt LE 4 i386 +.Os +.Sh NAME +.Nm le +.Nd AMD LANCE Ethernet device +.Sh SYNOPSIS +.Cd "le0 at isa? port 0x360 irq 15 drq 6" +.Cd "le* at isapnp?" +.Sh DESCRIPTION +The +.Nm +interface provides access to a 10 Mb/s Ethernet network via the +AMD LANCE Ethernet chips. +This includes the following models: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It AT&T StarLAN 10, EN100, and StarLAN Fiber +.It BICC Isolan +.It BOCALANcard +.It Digital DEPCA +.It Kingston 21xx +.It Novell NE1500T +.It Novell NE2100 +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr isapnp 4 , +.Xr netintro 4 , +.Xr hostname.if 5 , +.Xr ifconfig 8 diff --git a/static/openbsd/man4/man4.i386/lms.4 b/static/openbsd/man4/man4.i386/lms.4 new file mode 100644 index 00000000..e3fdd59b --- /dev/null +++ b/static/openbsd/man4/man4.i386/lms.4 @@ -0,0 +1,57 @@ +.\" $OpenBSD: lms.4,v 1.11 2010/09/26 20:39:08 miod Exp $ +.\" $NetBSD: lms.4,v 1.13 2000/07/05 16:13:48 msaitoh Exp $ +.\" +.\" Copyright (c) 1993 Christopher G. Demetriou +.\" 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. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed for the +.\" NetBSD Project. See http://www.netbsd.org/ for +.\" information about NetBSD. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> +.\" +.Dd $Mdocdate: September 26 2010 $ +.Dt LMS 4 i386 +.Os +.Sh NAME +.Nm lms +.Nd Logitech-style bus mouse driver +.Sh SYNOPSIS +.Cd "lms0 at isa? port 0x23c irq 5" +.Cd "lms1 at isa? port 0x238 irq 5" +.Cd "wsmouse* at lms? mux 0" +.Sh DESCRIPTION +This driver provides an interface to a Logitech-style bus mouse. +Mouse related data are accessed by +.Xr wsmouse 4 +devices. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 , +.Xr mms 4 , +.Xr pms 4 , +.Xr ums 4 , +.Xr wsmouse 4 diff --git a/static/openbsd/man4/man4.i386/mem.4 b/static/openbsd/man4/man4.i386/mem.4 new file mode 100644 index 00000000..9b31ab72 --- /dev/null +++ b/static/openbsd/man4/man4.i386/mem.4 @@ -0,0 +1,87 @@ +.\" $OpenBSD: mem.4,v 1.13 2024/03/22 12:29:33 jsg Exp $ +.\" +.\" Copyright (c) 1991 The Regents of the University of California. +.\" 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. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. +.\" +.\" from: @(#)mem.4 5.3 (Berkeley) 5/2/91 +.\" +.Dd $Mdocdate: March 22 2024 $ +.Dt MEM 4 i386 +.Os +.Sh NAME +.Nm mem , +.Nm kmem +.Nd memory files +.Sh DESCRIPTION +The special file +.Pa /dev/mem +is an interface to the physical memory of the computer. +Byte offsets in this file are interpreted as physical memory addresses. +Reading and writing this file is equivalent to reading and writing +memory itself. +Only offsets within the bounds of +.Pa /dev/mem +are allowed. +.Pp +Kernel virtual memory is accessed through the interface +.Pa /dev/kmem +in the same manner as +.Pa /dev/mem . +Only kernel virtual addresses that are currently mapped to memory are allowed. +.Pp +On ISA the I/O memory space begins at physical address +.Li 0x000a0000 +and runs to +.Li 0x00100000 . +The per-process data size for the current process is +.Dv UPAGES +long, and ends at virtual address +.Li 0xfe000000 . +.Pp +Even with sufficient file system permissions, +these devices can only be opened when the +.Xr securelevel 7 +is insecure or when the +.Va kern.allowkmem +.Xr sysctl 2 +variable is set. +.Sh FILES +.Bl -tag -width Pa -compact +.It Pa /dev/mem +.It Pa /dev/kmem +.El +.Sh SEE ALSO +.Xr mtrr 4 , +.Xr securelevel 7 +.Sh HISTORY +The +.Pa /dev/mem +file appeared in +.At v1 , +.Pa /dev/kmem +appeared in +.At v5 . diff --git a/static/openbsd/man4/man4.i386/mms.4 b/static/openbsd/man4/man4.i386/mms.4 new file mode 100644 index 00000000..5389a996 --- /dev/null +++ b/static/openbsd/man4/man4.i386/mms.4 @@ -0,0 +1,57 @@ +.\" $OpenBSD: mms.4,v 1.10 2010/09/26 20:39:08 miod Exp $ +.\" $NetBSD: mms.4,v 1.13 2000/07/05 16:13:49 msaitoh Exp $ +.\" +.\" Copyright (c) 1993 Christopher G. Demetriou +.\" 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. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed for the +.\" NetBSD Project. See http://www.netbsd.org/ for +.\" information about NetBSD. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> +.\" +.Dd $Mdocdate: September 26 2010 $ +.Dt MMS 4 i386 +.Os +.Sh NAME +.Nm mms +.Nd Microsoft-style bus mouse driver +.Sh SYNOPSIS +.Cd "mms0 at isa? port 0x23c irq 5" +.Cd "mms1 at isa? port 0x238 irq 5" +.Cd "wsmouse* at mms? mux 0" +.Sh DESCRIPTION +This driver provides an interface to a Microsoft-style bus mouse. +Mouse related data are accessed by +.Xr wsmouse 4 +devices. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 , +.Xr lms 4 , +.Xr pms 4 , +.Xr ums 4 , +.Xr wsmouse 4 diff --git a/static/openbsd/man4/man4.i386/mpbios.4 b/static/openbsd/man4/man4.i386/mpbios.4 new file mode 100644 index 00000000..6d16c2d2 --- /dev/null +++ b/static/openbsd/man4/man4.i386/mpbios.4 @@ -0,0 +1,59 @@ +.\" $OpenBSD: mpbios.4,v 1.1 2009/01/13 13:55:03 kettenis Exp $ +.\" +.\" Copyright (c) 2009 Mark Kettenis <kettenis@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: January 13 2009 $ +.Dt MPBIOS 4 i386 +.Os +.Sh NAME +.Nm mpbios +.Nd MP BIOS +.Sh SYNOPSIS +.Cd "mpbios0 at bios0" +.Sh DESCRIPTION +The +.Nm +driver extracts configuration information from the BIOS on +multiprocessor systems that conform to the Intel MultiProcessor +Specification. +This information is used to attach application processors and APICs, +and to assign interrupts to ISA, EISA and PCI devices. +.Pp +On modern systems this information is provided by ACPI through the +.Xr acpimadt 4 +device. +On such a system +.Nm +will not attach, even if the BIOS also contains the data structures +specified by the Intel MP Specification. +.Pp +The +.Nm +driver supports version 1.1 and 1.4 of the Intel MP Specification. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpimadt 4 , +.Xr bios 4 , +.Xr cpu 4 , +.Xr intro 4 , +.Xr ioapic 4 , +.Xr pcibios 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.5 , +based on code present since +.Ox 3.6 . diff --git a/static/openbsd/man4/man4.i386/mtrr.4 b/static/openbsd/man4/man4.i386/mtrr.4 new file mode 100644 index 00000000..6636011e --- /dev/null +++ b/static/openbsd/man4/man4.i386/mtrr.4 @@ -0,0 +1,147 @@ +.\" $OpenBSD: mtrr.4,v 1.17 2014/02/15 23:41:19 schwarze Exp $ +.\" +.\" Pentium MTRR driver for OpenBSD. +.\" Copyright 1999 Matthieu Herrb <matthieu@openbsd.org> +.\" +.\" Modification and redistribution in source and binary forms is +.\" permitted provided that due credit is given to the author and the +.\" OpenBSD project (for instance by leaving this copyright notice +.\" intact). +.\" +.Dd $Mdocdate: February 15 2014 $ +.Dt MTRR 4 i386 +.Os +.Sh NAME +.Nm mtrr +.Nd driver for CPU memory range attributes +.Sh SYNOPSIS +.Cd "pseudo-device mtrr 1" +.Sh DESCRIPTION +The +.Nm +device provides access to the memory range attributes supported by the +MTRRs on Pentiums. +.Ss IOCTL INTERFACE +Several architectures allow attributes to be associated with ranges of physical +memory. +These attributes can be manipulated via +.Fn ioctl +calls performed on +.Pa /dev/mem +or +.Pa /dev/xf86 . +Declarations and data types are to be found in +.In sys/memrange.h . +.Pp +The specific attributes, and number of programmable ranges may vary between +architectures. +The full set of supported attributes is: +.Bl -tag -width MDF_WRITECOMBINE +.It Dv MDF_UNCACHEABLE +The region is not cached. +.It Dv MDF_WRITECOMBINE +Writes to the region may be combined or performed out of order. +.It Dv MDF_WRITETHROUGH +Writes to the region are committed synchronously. +.It Dv MDF_WRITEBACK +Writes to the region are committed asynchronously. +.It Dv MDF_WRITEPROTECT +The region cannot be written to. +.El +.Pp +Memory ranges are described by +.Bd -literal -offset xxxx +struct mem_range_desc { + u_int64_t mr_base; /\(** physical base address \(**/ + u_int64_t mr_len; /\(** physical length of region \(**/ + int mr_flags; /\(** attributes of region \(**/ + char mr_owner[8]; +}; +.Ed +.Pp +In addition to the region attributes listed above, the following flags +may also be set in the +.Fa mr_flags +field: +.Bl -tag -width MDF_FIXACTIVE +.It Dv MDF_FIXBASE +The region's base address cannot be changed. +.It Dv MDF_FIXLEN +The region's length cannot be changed. +.It Dv MDF_FIRMWARE +The region is believed to have been established by the system firmware. +.It Dv MDF_ACTIVE +The region is currently active. +.It Dv MDF_BOGUS +We believe the region to be invalid or otherwise erroneous. +.It Dv MDF_FIXACTIVE +The region cannot be disabled. +.El +.Pp +Operations are performed using +.Bd -literal -offset xxxx +struct mem_range_op { + struct mem_range_desc *mo_desc; + int mo_arg[2]; +}; +.Ed +.Pp +The +.Fa MEMRANGE_GET +ioctl is used to retrieve current memory range attributes. +If +.Fa mo_arg[0] +is set to 0, it will be updated with the total number of memory range +descriptors. +If greater than 0, the array at +.Fa mo_desc +will be filled with a corresponding number of descriptor structures, +or the maximum, whichever is less. +.Pp +The +.Fa MEMRANGE_SET +ioctl is used to add, alter and remove memory range attributes. +A range with the +.Dv MDF_FIXACTIVE +flag may not be removed. +.Pp +.Fa mo_arg[0] +should be set to MEMRANGE_SET_UPDATE to update an existing +or establish a new range, or to MEMRANGE_SET_REMOVE to remove a range. +.Sh ERRORS +On +.Xr ioctl 2 +failure, +.Xr errno 2 +will be set as follows: +.Bl -tag -width Er +.It Bq Er EOPNOTSUPP +Memory range operations are not supported on this architecture. +.It Bq Er ENXIO +No memory range descriptors are available (e.g., firmware has not enabled +any). +.It Bq Er EINVAL +The memory range supplied as an argument is invalid or overlaps another +range in a fashion not supported by this architecture. +.It Bq Er EBUSY +An attempt to remove or update a range failed because the range is busy. +.It Bq Er ENOSPC +An attempt to create a new range failed due to a shortage of hardware +resources (e.g., descriptor slots). +.It Bq Er ENOENT +An attempt to remove a range failed because no range matches the descriptor +base/length supplied. +.It Bq Er EPERM +An attempt to remove a range failed because the range is permanently +enabled. +.El +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr mem 4 , +.Xr pctr 4 , +.Xr xf86 4 , +.Xr memconfig 8 +.Sh HISTORY +.Nm +support was originally included in +.Fx 3.3 . diff --git a/static/openbsd/man4/man4.i386/npx.4 b/static/openbsd/man4/man4.i386/npx.4 new file mode 100644 index 00000000..2a3e6065 --- /dev/null +++ b/static/openbsd/man4/man4.i386/npx.4 @@ -0,0 +1,63 @@ +.\" $OpenBSD: npx.4,v 1.15 2007/06/20 14:11:33 jmc Exp $ +.\" +.\" Copyright (c) 1993 Christopher G. Demetriou +.\" 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. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Christopher G. Demetriou. +.\" 3. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.Dd $Mdocdate: June 20 2007 $ +.Dt NPX 4 i386 +.Os +.Sh NAME +.Nm npx +.Nd Numeric Processing Extension coprocessor and emulator +.Sh SYNOPSIS +.\" XXX this is awful hackery to get it to work right... -- cgd +.Cd "npx0 at isa? port" \&"IO_NPX0\&" irq 13 +.Sh DESCRIPTION +The +.Nm +driver enables the use of the system's Numeric Processing Extension +coprocessor, +if one is present. +Numeric processing extensions are present in systems with +.Tn 486DX +CPUs and in systems with +.Tn 387 +or +.Tn 487SX +coprocessors. +The +.Nm +driver is required for proper system functioning regardless +of whether or not an NPX is present. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 +.Sh BUGS +There are lots of them, especially on cheap motherboards. +In particular, some motherboards do not have the interrupt lines from the NPX +to the CPU wired properly. diff --git a/static/openbsd/man4/man4.i386/nvram.4 b/static/openbsd/man4/man4.i386/nvram.4 new file mode 100644 index 00000000..8980e17e --- /dev/null +++ b/static/openbsd/man4/man4.i386/nvram.4 @@ -0,0 +1,52 @@ +.\" $OpenBSD: nvram.4,v 1.4 2007/05/31 19:19:55 jmc Exp $ +.\" +.\" Copyright 2004 Joshua Stein <jcs@openbsd.org> +.\" 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 ``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 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. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt NVRAM 4 i386 +.Os +.Sh NAME +.Nm nvram +.Nd driver for reading PC NVRAM contents +.Sh SYNOPSIS +.Cd "pseudo-device nvram 1" +.Sh DESCRIPTION +The +.Nm +device provides read-only access to the non-volatile memory contained in the +MC146818 real-time clock. +.Pp +This data is provided as a seekable character device, +.Pa /dev/nvram . +Checksums of the NVRAM contents are calculated over bytes 2 to 31 and stored +in byte 32. +A valid checksum is required for the driver to initialize. +.Sh FILES +.Bl -tag -width /dev/nvram +.It Pa /dev/nvram +.El +.Sh HISTORY +.Nm +support was originally included in +.Ox 3.7 . diff --git a/static/openbsd/man4/man4.i386/pas.4 b/static/openbsd/man4/man4.i386/pas.4 new file mode 100644 index 00000000..1f8b90d0 --- /dev/null +++ b/static/openbsd/man4/man4.i386/pas.4 @@ -0,0 +1,45 @@ +.\" $OpenBSD: pas.4,v 1.2 2007/05/31 19:19:55 jmc Exp $ +.\" +.\" Copyright (c) 2006 JASON MCINTYRE <jmc@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt PAS 4 i386 +.Os +.Sh NAME +.Nm pas +.Nd Media Vision Pro AudioSpectrum audio device +.Sh SYNOPSIS +.Cd "pas0 at isa? port 0x220 irq 7 drq 1" +.Cd "audio* at pas?" +.Sh DESCRIPTION +The +.Nm +driver provides support for second generation +Media Vision Pro AudioSpectrum +sound cards. +These cards contain an MVD101 multimedia chip. +.Pp +The following cards are supported: +.Bd -literal -offset indent +CDPC +Fusion CD +Fusion CD 16 +PAS 16 +PAS Plus +.Ed +.Sh SEE ALSO +.Xr audio 4 , +.Xr intro 4 , +.Xr isa 4 diff --git a/static/openbsd/man4/man4.i386/pcibios.4 b/static/openbsd/man4/man4.i386/pcibios.4 new file mode 100644 index 00000000..493bd358 --- /dev/null +++ b/static/openbsd/man4/man4.i386/pcibios.4 @@ -0,0 +1,180 @@ +.\" $OpenBSD: pcibios.4,v 1.26 2024/06/22 12:38:32 deraadt Exp $ +.\" $NetBSD: pcibios.4,v 1.7 2000/08/03 13:32:39 soda Exp $ +.\" +.\" Copyright (c) 2000 Michael Shalayeff, All rights reserved. +.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd $Mdocdate: June 22 2024 $ +.Dt PCIBIOS 4 i386 +.Os +.Sh NAME +.Nm pcibios +.Nd introduction to PCI BIOS support +.Sh SYNOPSIS +.Cd "pcibios0 at bios0 flags 0x0000" +.\" .Cd "#option PCIBIOS_IRQS_HINT=0x0a00 #IRQ 9,11" +.\" .Cd "#option PCIBIOS_INTR_FIXUP_FORCE" +.Sh DESCRIPTION +.Ox +provides support for setting up PCI controllers, bridges, and devices +using information extracted from the BIOS. +.Pp +Ideally, the boot firmware of a machine (a.k.a. BIOS) should set +up all PCI devices; assigning them I/O and memory addresses and +interrupts. +Alas, this does not always happen, so there is some +PC specific code that can do the initialization when +.Ox +boots. +.Pp +Flags is a bit mask each bit of which specifies a fixup procedure to +omit. +The following list specifies these procedures and gives +flags bit values to disable them in case they cause problems. +.Bl -tag -width 0x0000 +.It 0x0001 +Fixup PCI I/O and memory addresses. +.Pp +Some BIOS implementations don't allocate I/O space and +memory space for all PCI devices. +Especially, a BIOS which has +.Qq PnP OS mode +enabled shows this behavior. +Since necessary space isn't allocated, those devices +will not work without special handling. +.Pp +Without this flag force allocation of I/O space and memory space +instead of relying upon the BIOS to do so. +.Pp +If necessary space is already correctly assigned to the devices, +this option leaves the space as is. +.Pp +Although many BIOS implementations leave CardBus bridges' +space unallocated, the CardBus bridge device driver doesn't +require this option, since the driver allocates necessary space +by itself. +.It 0x0002 +Fixup PCI bus numbering; needed for many +.Xr cardbus 4 +bridges. +.Pp +Each PCI bus and CardBus should have a unique bus number. +But some BIOS implementations don't assign a bus number +for subordinate PCI buses. +And many BIOS implementations don't assign a bus number for CardBuses. +.Pp +A typical symptom of this is the following boot message: +.D1 Sy cardbus0 at cardslot0: bus 0 device 0... +This cardbus0 has a bus number +.Sq 0 , +but normally the bus number 0 is used by the machine's +primary PCI bus. +Thus, this bus number for cardbus is incorrect +.Pq not assigned . +In this situation, a device located in cardbus0 doesn't +show correct device ID, +because its bus number 0 incorrectly refers to the primary +PCI bus, and a device ID in the primary PCI bus is shown +in the boot message instead of the device's ID in the cardbus0. +.Pp +Without this flag force assignment of bus numbers for all subordinate +PCI buses and CardBuses. +.Pp +Since this procedure renumbers all PCI buses and CardBuses, +all bus numbers of subordinate buses become different +when this option is enabled. +.It 0x0004 +Fixup PCI interrupt routing. +.Pp +Some BIOS implementations don't assign an interrupt for +some devices. +.Pp +This procedure assigns an interrupt for such devices instead +of relying upon the BIOS to do so. +.Pp +If the BIOS has already assigned an interrupt to a device, this +procedure leaves the interrupt as is. +.It 0x0008 +Make PCI interrupt routing fixup work with unknown interrupt routers. +If this flag is specified and a PCI interrupt routing table entry +indicates that only one IRQ is available for the entry, the IRQ is +assumed to be already connected to the device, and the corresponding PCI +Interrupt Configuration Register will be configured accordingly. +.Pp +Without this flag, if a PCI interrupt router is not known, interrupt +configuration will not be modified. +.It 0x0010 +Be verbose when performing +.Nm +tasks. +Included in these diagnostics are: PCI device address fixup tables, +interrupt fixup reports, and other diagnostic and non-fatal messages. +.It 0x0020 +Make the PCI interrupt routing fixup procedure verbose. +.It 0x0040 +Some buggy BIOS implementations provide inconsistent information between +the PCI Interrupt Configuration Register and the PCI Interrupt Routing table. +In such cases, the PCI Interrupt Configuration Register takes precedence +by default. +If this flag is specified, the PCI Interrupt Routing table takes precedence. +.El +.Sh SEE ALSO +.Xr bios 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pci_conf_read 9 , +.Xr pci_intr_map 9 +.Sh HISTORY +The +.Nm +code appeared in +.Nx 1.5 . +.Ox +support was added in +.Ox 2.8 . +In contrast to +.Nx +implementation +.Nm +in +.Ox +is a real device, where options control is done through the +.Nm flags +which are modifiable through the +.Xr boot_config 8 +interface. +For +.Ox 2.9 +the PCI interrupt routing establishment sequence was redone to only +fixup and route interrupts when attaching interrupts for a particular PCI +device. +.Sh BUGS +The +.Em PCIBIOS Address Fixup +option may conflict with the PCI CardBus driver's own +address fixup. diff --git a/static/openbsd/man4/man4.i386/pctr.4 b/static/openbsd/man4/man4.i386/pctr.4 new file mode 100644 index 00000000..eaa3fafd --- /dev/null +++ b/static/openbsd/man4/man4.i386/pctr.4 @@ -0,0 +1,281 @@ +.\" $OpenBSD: pctr.4,v 1.30 2013/07/16 16:05:49 schwarze Exp $ +.\" +.\" Pentium performance counter driver for OpenBSD. +.\" Copyright 1996 David Mazieres <dm@lcs.mit.edu>. +.\" +.\" Modification and redistribution in source and binary forms is +.\" permitted provided that due credit is given to the author and the +.\" OpenBSD project by leaving this copyright notice intact. +.\" +.Dd $Mdocdate: July 16 2013 $ +.Dt PCTR 4 i386 +.Os +.Sh NAME +.Nm pctr +.Nd driver for CPU performance counters +.Sh SYNOPSIS +.Cd "pseudo-device pctr 1" +.Sh DESCRIPTION +The +.Nm +device provides access to the performance counters on AMD and Intel brand +processors, and to the TSC on others. +.Pp +Intel processors have two 40-bit performance counters which can be +programmed to count events such as cache misses, branch target buffer hits, +TLB misses, dual-issues, interrupts, pipeline flushes, and more. +While AMD processors have four 48-bit counters, their precision is decreased +to 40 bits. +.Pp +There is one +.Em ioctl +call to read the status of all counters, and one +.Em ioctl +call to program the function of each counter. +All require the following includes: +.Bd -literal -offset indent +#include <sys/types.h> +#include <machine/cpu.h> +#include <machine/pctr.h> +.Ed +.Pp +The current state of all counters can be read with the +.Dv PCIOCRD +.Em ioctl , +which takes an argument of type +.Dv "struct pctrst" : +.Bd -literal -offset indent +#define PCTR_NUM 4 +struct pctrst { + u_int pctr_fn[PCTR_NUM]; + pctrval pctr_tsc; + pctrval pctr_hwc[PCTR_NUM]; +}; +.Ed +.Pp +In this structure, +.Em ctr_fn +contains the functions of the counters, as previously set by the +.Dv PCIOCS0 , +.Dv PCIOCS1 , +.Dv PCIOCS2 +and +.Dv PCIOCS3 +ioctls (see below). +.Em pctr_hwc +contains the actual value of the hardware counters. +.Em pctr_tsc +is a free-running, 64-bit cycle counter. +.Pp +The functions of the counters can be programmed with ioctls +.Dv PCIOCS0 , +.Dv PCIOCS1 , +.Dv PCIOCS2 +and +.Dv PCIOCS3 +which require a writeable file descriptor and take an argument of type +.Dv "unsigned int" . \& +The meaning of this integer is dependent on the particular CPU. +.Ss Time stamp counter +The time stamp counter is available on most of the AMD K6, Intel Pentium +and higher class CPUs, as well as on some 486s and non-intel CPUs. +It is set to zero at boot time, and then increments with each cycle. +Because the counter is 64-bits wide, it does not overflow. +.Pp +The time stamp counter can be read directly from user-mode using +the +.Fn rdtsc +macro, which returns a 64-bit value of type +.Em pctrval . +The following example illustrates a simple use of +.Fn rdtsc +to measure the execution time of a hypothetical subroutine called +.Fn functionx : +.Bd -literal -offset indent +void +time_functionx(void) +{ + pctrval tsc; + + tsc = rdtsc(); + functionx(); + tsc = rdtsc() - tsc; + printf("Functionx took %llu cycles.\en", tsc); +} +.Ed +.Pp +The value of the time stamp counter is also returned by the +.Dv PCIOCRD +.Em ioctl , +so that one can get an exact timestamp on readings of the hardware +event counters. +.Ss Intel Pentium counters +The Intel Pentium counters are programmed with a 9 bit function. +The top three bits contain the following flags: +.Bl -tag -width P5CTR_C +.It Dv P5CTR_K +Enables counting of events that occur in kernel mode. +.It Dv P5CTR_U +Enables counting of events that occur in user mode. +You must set at least one of +.Dv P5CTR_U +and +.Dv P5CTR_K +to count anything. +.It Dv P5CTR_C +When this flag is set, the counter attempts to count the number of +cycles spent servicing a particular event, rather than simply the +number of occurrences of that event. +.El +.Pp +The bottom 6 bits set the particular event counted. +A list of possible event functions could be obtained by running a +.Xr pctr 1 +command with +.Fl l +option. +.Ss "Counters for AMD K6, Intel Pentium Pro and newer CPUs" +Unlike the Pentium counters, these counters can be read +directly from user-mode without need to invoke the kernel. +The macro +.Fn rdpmc ctr +takes 0, 1, 2 or 3 as an argument to specify a counter, and returns that +counter's 40-bit value (which will be of type +.Em pctrval ) . +This is generally preferable to making a system call as it introduces +less distortion in measurements. +.Pp +Counter functions supported by these CPUs contain several parts. +The most significant byte (an 8-bit integer shifted left by +.Dv PCTR_CM_SHIFT ) +contains a +.Em "counter mask" . +If non-zero, this sets a threshold for the number of times an event +must occur in one cycle for the counter to be incremented. +The +.Em "counter mask" +can therefore be used to count cycles in which an event +occurs at least some number of times. +The next byte contains several flags: +.Bl -tag -width PCTR_EN +.It Dv PCTR_U +Enables counting of events that occur in user mode. +.It Dv PCTR_K +Enables counting of events that occur in kernel mode. +You must set at least one of +.Dv PCTR_K +and +.Dv PCTR_U +to count anything. +.It Dv PCTR_E +Counts edges rather than cycles. +For some functions this allows you +to get an estimate of the number of events rather than the number of +cycles occupied by those events. +.It Dv PCTR_EN +Enable counters. +This bit must be set in the function for counter 0 +in order for either of the counters to be enabled. +This bit should probably be set in counter 1 as well. +.It Dv PCTR_I +Inverts the sense of the +.Em "counter mask" . \& +When this bit is set, the counter only increments on cycles in which +there are no +.Em more +events than specified in the +.Em "counter mask" . +.El +.Pp +The next byte (shifted left by the +.Dv PCTR_UM_SHIFT ) +contains flags specific to the event being counted, also known as the +.Em "unit mask" . +.Pp +For events dealing with the L2 cache, the following flags are valid +on Intel brand processors: +.Bl -tag -width PCTR_UM_M +.It Dv PCTR_UM_M +Count events involving modified cache coherency state lines. +.It Dv PCTR_UM_E +Count events involving exclusive cache coherency state lines. +.It Dv PCTR_UM_S +Count events involving shared cache coherency state lines. +.It Dv PCTR_UM_I +Count events involving invalid cache coherency state lines. +.El +.Pp +To measure all L2 cache activity, all these bits should be set. +They can be set with the macro +.Dv PCTR_UM_MESI +which contains the bitwise or of all of the above. +.Pp +For event types dealing with bus transactions, there is another flag +that can be set in the +.Em "unit mask" : +.Bl -tag -width PCTR_UM_A +.It Dv PCTR_UM_A +Count all appropriate bus events, not just those initiated by the +processor. +.El +.Pp +Events marked +.Em (MESI) +require the +.Dv PCTR_UM_[MESI] +bits in the +.Em "unit mask" . \& +Events marked +.Em (A) +can take the +.Dv PCTR_UM_A +bit. +.Pp +Finally, the least significant byte of the counter function is the +event type to count. +A list of possible event functions could be obtained by running a +.Xr pctr 1 +command with +.Fl l +option. +.Sh FILES +.Bl -tag -width /dev/pctr -compact +.It Pa /dev/pctr +.El +.Sh ERRORS +.Bl -tag -width "[ENODEV]" +.It Bq Er ENODEV +An attempt was made to set the counter functions on a CPU that does +not support counters. +.It Bq Er EINVAL +An invalid counter function was provided as an argument to the +.Dv PCIOCSx +.Em ioctl . +.It Bq Er EPERM +An attempt was made to set the counter functions, but the device was +not open for writing. +.El +.Sh SEE ALSO +.Xr pctr 1 , +.Xr ioctl 2 +.Sh HISTORY +A +.Nm +device first appeared in +.Ox 2.0 +but was subsequently extended to support AMD and newer Intel CPUs in +.Ox 4.3 . +.Sh AUTHORS +The +.Nm +device was written by +.An David Mazieres Aq Mt dm@lcs.mit.edu . +.Sh BUGS +Not all counter functions are completely accurate. +Some of the functions may not make any sense at all. +Also you should be aware of the possibility of an interrupt between +invocations of +.Fn rdpmc +and/or +.Fn rdtsc +that can potentially decrease the accuracy of measurements. diff --git a/static/openbsd/man4/man4.i386/sb.4 b/static/openbsd/man4/man4.i386/sb.4 new file mode 100644 index 00000000..d7131957 --- /dev/null +++ b/static/openbsd/man4/man4.i386/sb.4 @@ -0,0 +1,96 @@ +.\" $OpenBSD: sb.4,v 1.16 2016/08/31 13:54:58 jmc Exp $ +.\" $NetBSD: sb.4,v 1.13 1997/10/31 15:02:33 augustss Exp $ +.\" +.\" Copyright (c) 1996 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by John T. Kohl. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 REGENTS 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. +.\" +.Dd $Mdocdate: August 31 2016 $ +.Dt SB 4 i386 +.Os +.Sh NAME +.Nm sb +.Nd SoundBlaster family audio device +.Sh SYNOPSIS +.Cd "sb0 at isa? port 0x220 irq 5 drq 1" +.Cd "sb1 at isa? port 0x240 irq 7 drq 1 flags 1" +.Cd "sb* at isapnp?" +.Cd "audio* at sb?" +.Cd "midi* at sb?" Pq "MPU401 port" +.Sh DESCRIPTION +The +.Nm +driver supports the +SoundBlaster 16, Jazz 16, SoundBlaster AWE 32, SoundBlaster AWE 64, +and hardware register-level compatible audio cards. +.Pp +The SoundBlaster series are half-duplex cards, capable of 8- and 16-bit +audio sample recording and playback at rates up to 44.1kHz (depending on +the particular model). +.Pp +The base I/O port address is usually jumper-selected to either 0x220 or +0x240 (newer cards may provide software configuration, but this driver +does not directly support them--you must configure the card for its I/O +addresses with other software). +The SoundBlaster takes 16 I/O ports. +For the SoundBlaster and SoundBlaster Pro, the IRQ and DRQ channels are +jumper-selected. +For the SoundBlaster 16, the IRQ and DRQ channels are set by this driver +to the values specified in the config file. +The IRQ must be selected from the set {5,7,9,10}. +.Pp +The configuration file must set the value of +.Cm flags +to 1 to enable the Jazz16 support. +This is to avoid potential conflicts with other devices when probing the +Jazz 16 because it requires use of extra I/O ports not in the base port range. +.Pp +The joystick interface (if enabled by a jumper) is handled by the +.Xr joy 4 +driver, and the optional SCSI CD-ROM interface is handled by the +.Xr aic 4 +driver. +.Sh SEE ALSO +.Xr aic 4 , +.Xr audio 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr isapnp 4 , +.Xr joy 4 , +.Xr midi 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.0 . +.Sh BUGS +With a SoundBlaster 16 card the device is full duplex, but it can +only sensibly handle a precision of 8 bits. +It does so by extending +the output 8 bit samples to 16 bits and using the 8 bit DMA channel +for input and the 16 bit channel for output. +.Pp +The non-SCSI CD-ROM interfaces found on some older cards are not supported. diff --git a/static/openbsd/man4/man4.i386/skgpio.4 b/static/openbsd/man4/man4.i386/skgpio.4 new file mode 100644 index 00000000..b175ae9c --- /dev/null +++ b/static/openbsd/man4/man4.i386/skgpio.4 @@ -0,0 +1,57 @@ +.\" $OpenBSD: skgpio.4,v 1.2 2015/10/22 11:01:14 sobrado Exp $ +.\" +.\" Copyright (c) 2014 Matt Dainty <matt@bodgit-n-scarper.com> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: October 22 2015 $ +.Dt SKGPIO 4 i386 +.Os +.Sh NAME +.Nm skgpio +.Nd Soekris net6501 GPIO and LEDs +.Sh SYNOPSIS +.Cd "skgpio0 at isa? port 0x680" +.Cd "gpio* at skgpio?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the GPIO and LEDs as implemented by the Xilinx +Spartan FGPA integrated into the Soekris net6501 programmed with the default +bitstream found in the BIOS. +.Pp +Two standard +.Xr gpio 4 +interfaces are provided, one for the 16 real pins which can be configured as +either inputs or outputs and another with 2 output-only pins that map +to the error and ready LEDs respectively. +Both may be used with +.Xr gpioctl 8 . +.Sh SEE ALSO +.Xr gpio 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr gpioctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 5.7 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Matt Dainty Aq matt@bodgit-n-scarper.com . +.Sh BUGS +If the Xilinx FPGA is programmed with a different bitstream, the driver will +likely not function. diff --git a/static/openbsd/man4/man4.i386/tcpcib.4 b/static/openbsd/man4/man4.i386/tcpcib.4 new file mode 100644 index 00000000..21331b61 --- /dev/null +++ b/static/openbsd/man4/man4.i386/tcpcib.4 @@ -0,0 +1,71 @@ +.\" $OpenBSD: tcpcib.4,v 1.6 2014/11/15 14:41:02 bentley Exp $ +.\" +.\" Copyright (c) 2012 Matt Dainty <matt@bodgit-n-scarper.com> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: November 15 2014 $ +.Dt TCPCIB 4 i386 +.Os +.Sh NAME +.Nm tcpcib +.Nd Intel Atom E600 series LPC bridge, timecounter and watchdog timer +.Sh SYNOPSIS +.Cd "tcpcib* at pci?" +.Cd "isa* at tcpcib?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Intel Atom E600 series LPC bridge and +implements a 64-bit 14.3 MHz timecounter using the HPET timer. +.Pp +The +.Nm +driver also provides the standard +.Xr watchdog 4 +interface to the watchdog timer and may be used with +.Xr watchdogd 8 . +The watchdog timer can be configured via +.Xr sysctl 8 . +.Pp +Once the watchdog timer resets the CPU, the driver reports it on the +next boot displaying the +.Dq reboot on timeout +message in the +.Xr dmesg 8 . +.Pp +The maximum timeout value supported by the watchdog timer is 600 +seconds. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr watchdog 4 , +.Xr sysctl 8 , +.Xr watchdogd 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 5.2 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Matt Dainty Aq Mt matt@bodgit-n-scarper.com . +.Sh BUGS +Apart from the core +.Xr pcib 4 +functionality, timecounter and the +.Xr watchdog 4 +interface, the driver doesn't support any other aspects of the hardware. diff --git a/static/openbsd/man4/man4.i386/uha.4 b/static/openbsd/man4/man4.i386/uha.4 new file mode 100644 index 00000000..201721dc --- /dev/null +++ b/static/openbsd/man4/man4.i386/uha.4 @@ -0,0 +1,55 @@ +.\" $OpenBSD: uha.4,v 1.14 2012/08/14 01:08:19 dlg Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.\" +.Dd $Mdocdate: August 14 2012 $ +.Dt UHA 4 i386 +.Os +.Sh NAME +.Nm uha +.Nd Ultrastor SCSI interface +.Sh SYNOPSIS +.Cd "uha0 at isa? port 0x330" +.Cd "uha1 at isa? port 0x334" +.Cd "uha* at eisa?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the following SCSI adapters: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It Ultrastor 14f +.It Ultrastor 24f +.It Ultrastor 34f +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr eisa 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 , +.Xr uk 4 diff --git a/static/openbsd/man4/man4.i386/wds.4 b/static/openbsd/man4/man4.i386/wds.4 new file mode 100644 index 00000000..195e9f80 --- /dev/null +++ b/static/openbsd/man4/man4.i386/wds.4 @@ -0,0 +1,61 @@ +.\" $OpenBSD: wds.4,v 1.6 2012/08/14 01:08:19 dlg Exp $ +.\" $NetBSD: wds.4,v 1.5 2001/09/11 23:18:55 wiz Exp $ +.\" +.\" Copyright (c) 1997 Jonathan Stone +.\" 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. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. +.\" +.Dd $Mdocdate: August 14 2012 $ +.Dt WDS 4 i386 +.Os +.Sh NAME +.Nm wds +.Nd WD7000 compatible ISA SCSI interface +.Sh SYNOPSIS +.Cd "wds0 at isa? port 0x350 irq 15 drq 6 # WD7000, TMC-7000" +.Cd "wds1 at isa? port 0x358 irq 11 drq 5" +.Sh DESCRIPTION +The +.Nm +driver supports the WD7000 family of +.Tn SCSI +adapters and compatibles, including: +.Pp +.Bl -tag -width xxxxxxxxxxxxx -offset xxxx -compact +.It WD7000-ASC +Busmastering DMA controller. +.It WD7000-ASE +An ASC with floppy controller and +.Tn ESDI , +manufactured for +.Tn Apollo +workstations. +.It WD7000-FASST2 +An ASC with new firmware and scatter-gather hardware. +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 diff --git a/static/openbsd/man4/man4.i386/wdt.4 b/static/openbsd/man4/man4.i386/wdt.4 new file mode 100644 index 00000000..6f99c2b8 --- /dev/null +++ b/static/openbsd/man4/man4.i386/wdt.4 @@ -0,0 +1,68 @@ +.\" Copyright (c) 1998,1999 Alex Nash +.\" 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. +.\" +.\" $OpenBSD: wdt.4,v 1.15 2007/05/31 19:19:55 jmc Exp $ +.\" +.Dd $Mdocdate: May 31 2007 $ +.Dt WDT 4 i386 +.Os +.Sh NAME +.Nm wdt +.Nd ICS PCI-WDT500/501 watchdog timer device +.Sh SYNOPSIS +.Cd "wdt0 at pci?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Industrial Computer Source +PCI-WDT500 and PCI-WDT501 boards. +.Pp +For PCI-WDT500 boards, basic watchdog timer functionality is supported. +For PCI-WDT501 boards, the onboard buzzer will sound when the watchdog +counter expires. +The sensors are not yet supported. +.Pp +If the kernel crashes, the watchdog +timer is not reset and the system will reboot (assuming a proper connection +is made between the WDT50x and motherboard). +Alternatively, the watchdog +can be reinitialized via a userland process which ensures that process +scheduling, not just kernel timeout processing, is still taking place. +See +.Xr watchdog 4 +and +.Xr watchdogd 8 +for more information. +.Pp +The timer can be configured to have a timeout from 2 to 1800 seconds. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr watchdog 4 , +.Xr watchdogd 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 2.6 . |
