diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 15:32:58 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 15:32:58 -0400 |
| commit | 5cb84ec742fd33f78c8022863fadaa8d0d93e176 (patch) | |
| tree | 1a81ca3665e6153923e40db7b0d988f8573ab59c /static/netbsd/man4/man4.i386 | |
| parent | a59214f344567c037d5776879bcfc5fcc1d4d5f6 (diff) | |
feat: Added NetBSD man pages
Diffstat (limited to 'static/netbsd/man4/man4.i386')
22 files changed, 1881 insertions, 0 deletions
diff --git a/static/netbsd/man4/man4.i386/Makefile b/static/netbsd/man4/man4.i386/Makefile new file mode 100644 index 00000000..67434962 --- /dev/null +++ b/static/netbsd/man4/man4.i386/Makefile @@ -0,0 +1,4 @@ +MAN = $(wildcard *.4) + +include ../../../mandoc.mk + diff --git a/static/netbsd/man4/man4.i386/apm.4 b/static/netbsd/man4/man4.i386/apm.4 new file mode 100644 index 00000000..104f584f --- /dev/null +++ b/static/netbsd/man4/man4.i386/apm.4 @@ -0,0 +1,214 @@ +.\" Copyright (c) 1995,1996 John T. Kohl +.\" 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. 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: apm.4,v 1.19 2018/07/10 15:12:29 maya Exp $ +.\" +.Dd July 10, 2018 +.Dt APM 4 i386 +.Os +.Sh NAME +.Nm apm +.Nd +Advanced Power Management pseudo-device driver +.Sh SYNOPSIS +.Cd "apm0 at mainbus0" +.In machine/apmvar.h +.Pa /dev/apm +.Sh DESCRIPTION +The +.Nm apm +driver provides support for the Advanced Power Management features of +some i386 system BIOSes. +The driver supports the Advanced Power +Management (APM) BIOS Interface Specification (revision 1.2), published +jointly by the Intel Corporation and the Microsoft Corporation. +.Pp +The APM driver's behavior may be adjusted by specifying any of the +following kernel configuration options: +.Bl -tag -width indent -compact +.It Dv APM_V10_ONLY +Use only the APM revision 1.0 specification calls. +(Some systems do not implement APM v1.1 very well, and generate +weird events instead of the expected events when the system suspend +key is pressed.) +.It Dv APM_NO_V12 +Don't attach to the BIOS as APM v1.2 compliant device. +(In case there are problems with v1.2 support.) +.It Dv APM_NO_STANDBY +Do not attempt to put the system into standby mode. +.It Dv APM_NO_POWEROFF +Do not attempt to turn off power when halting the system. +.It Dv APMDEBUG +Enable kernel printout of events received from the APM BIOS. +.It Dv APMCALLDEBUG +Enable kernel printout of every call to the APM BIOS (this is very noisy). +.It Dv APM_POWER_PRINT +Print power state on console at +.Dv APM_POWER_CHANGE +events. +(Since it increases +.Xr syslogd 8 Ns 's +activity, it may consume increased battery power. +Some systems generate the events too frequently, +and printing the status may disturb single-user operations.) +.El +.Pp +If no processes are holding open file descriptors to the APM device, the +driver will process the APM BIOS events itself. +If a process has the +device open for write, the driver defers all suspend and standby +processing to the user process as long as there is sufficient queue +space to store the event for the process. +If the device is only open +for read, the driver will report events but handle them itself. +.Pp +The APM device may be opened by multiple readers but only one +writer. +Multiple readers may fetch the status with +.Xr ioctl 2 +without worrying about interference, but they must cooperate to share +events as only a single event queue is provided. +The device may only be +.Xr select 2 Ns ed +or manipulated with +.Xr ioctl 2 ; +.Xr read 2 +and +.Xr write 2 +are not supported. +The +.Xr ioctl 2 +calls supported are: +.Bl -tag -width indent -compact +.It Dv APM_IOC_SUSPEND +Initiate an APM suspend mode. +This is a deep sleep mode which powers down most devices. +The device must be open for writing for this command to succeed. +.It Dv APM_IOC_STANDBY +Initiate an APM standby mode. +This is a light sleep mode from which the +system can quickly restore normal operation. +The device must be open for writing for this command to succeed. +.It Dv APM_IOC_GETPOWER +Fetch the current power status into an +.Va apm_power_info +structure. +.Bd -literal +struct apm_power_info { + u_char battery_state; + u_char ac_state; + u_char battery_life; + u_char spare1; + u_int minutes_left; /* estimate */ + u_int nbattery; + u_int batteryid; + u_int spare2[4]; +}; +.Ed +.Pp +The structure should be zeroed (except for +.Va batteryid ) +before +being passed. +.Pp +.Va battery_state +is one of +.Dv APM_BATT_HIGH , +.Dv APM_BATT_LOW , +.Dv APM_BATT_CRITICAL , +.Dv APM_BATT_CHARGING , +or +.Dv APM_BATT_UNKNOWN . +.Pp +.Va ac_state +is one of +.Dv APM_AC_OFF , +.Dv APM_AC_ON , +.Dv APM_AC_BACKUP , +or +.Dv APM_AC_UNKNOWN . +.Pp +.Va battery_life +is the percentage estimated remaining normal battery life (or 0 if the +BIOS cannot provide an estimate). +.Pp +.Va minutes_left +is an estimated remaining lifetime (or 0 if the BIOS cannot provide an +estimate). +.Pp +.Va nbattery +is the number of batteries in the system. +If the system is using APM v1.1 or earlier, nbattery will always return 0. +.Pp +Batteries are numbered from a base of 1. +If the passed value of +.Va batteryid +is 0, the returned values will reflect the percentage remaining, minutes +left, etc. of all of the system's batteries taken together. +If the passed value of +.Va batteryid +is nonzero, the return values will reflect the indicated +battery's percentage remaining, minutes left, etc. +It is an error to set +.Va batteryid +to a value greater than that returned by +.Va nbattery . +If the system is using APM v1.1 or earlier, individual batteries +cannot be queried, and +.Va nbattery +will always return 0. +.Va batteryid +is always set to the passed value upon return. +.It Dv APM_IOC_NEXTEVENT +Fetch the next event from the APM BIOS into an +.Va apm_event_info +structure. +If no more events are ready, this will return +.Dv EAGAIN . +.Bd -literal +struct apm_event_info { + u_int type; + u_int index; + u_int spare[8]; +}; +.Ed +.Va type +is one of the APM event types (APM_STANDBY_REQ through +APM_SYS_STANDBY_RESUME). +.Va index +is the ordinal event sequence number. +.El +.Sh SEE ALSO +.Xr apmd 8 +.Sh REFERENCES +Advanced Power Management (APM) BIOS Interface Specification (Revision +1.1), Intel Corporation and Microsoft Corporation. +Intel order number 241704-001; Microsoft part number 781-110-X01. +.Sh HISTORY +The +.Nm apm +pseudo-device driver appeared in +.Nx 1.3 . diff --git a/static/netbsd/man4/man4.i386/cmos.4 b/static/netbsd/man4/man4.i386/cmos.4 new file mode 100644 index 00000000..b80bb048 --- /dev/null +++ b/static/netbsd/man4/man4.i386/cmos.4 @@ -0,0 +1,129 @@ +.\" $NetBSD: cmos.4,v 1.9 2014/03/18 18:20:40 riastradh Exp $ +.\" +.\" Copyright (c) 2007 David Young. All rights reserved. +.\" +.\" This manual page was written by David Young. +.\" +.\" 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 DAVID YOUNG ``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 DAVID +.\" YOUNG 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 April 21, 2010 +.Dt CMOS 4 i386 +.Os +.Sh NAME +.Nm cmos +.Nd Read/write access to IBM PC/AT CMOS RAM +.Sh SYNOPSIS +.Cd pseudo-device cmos +.Sh DESCRIPTION +The +.Nm +pseudo-device can be used to read the real-time clock and +.Tn ISA +configuration data from an ISA-compatible +.Tn CMOS +.Tn RAM , +and to write the +.Tn ISA +configuration data. +.Pp +A program reads between 0 and 48 bytes from the +.Tn CMOS +.Tn RAM , starting at +byte 0 of the +.Tn RAM , +using a single call to +.Xr read 2 . +Likewise, a program writes between 0 and 48 bytes to the CMOS RAM, +starting at byte 0 of the RAM, using a single call to +.Xr write 2 . +.Pp +.Nm +does not allow programs to overwrite the real-time clock data +(bytes 0 through 9), the status registers (10 through 13), +the diagnostic status or +.Tn CMOS +shutdown status (bytes 14 and 15), +or the +.Tn CMOS +checksum (bytes 46 and 47). +Writes to those bytes are ignored. +.Pp +On writes, +.Nm +recomputes the +.Tn CMOS +checksum and writes it to the +.Tn CMOS +.Tn RAM . +.Sh EXAMPLES +Display entire contents of CMOS RAM: +.Bd -literal -offset 2n +# dd if=/dev/cmos bs=48 count=1 | od -t x1 +0000000 37 00 09 00 22 00 06 13 04 80 26 02 50 80 00 00 +0000020 00 51 f0 00 01 80 02 00 fc 0f 2f 00 00 00 00 00 +0000040 00 80 81 f0 ff 00 00 00 00 00 00 00 00 00 05 ee +0000060 +.Ed +.Pp +Change boot order on Soekris net4521 to +.Tn PXE +.Tn ROM , +Primary +.Tn HDD , +Secondary +.Tn HDD : +.Bd -literal -offset 2n +# dd if=/dev/cmos of=/tmp/cmos0 bs=48 count=1 +1+0 records in +1+0 records out +48 bytes transferred in 0.001 secs (48000 bytes/sec) +# cp /tmp/cmos0 /tmp/cmos +# printf '\exf0\ex80\ex81\exff' | dd bs=1 seek=33 conv=notrunc of=/tmp/cmos +4+0 records in +4+0 records out +4 bytes transferred in 0.001 secs (4000 bytes/sec) +# dd if=/tmp/cmos of=/dev/cmos +0+1 records in +0+1 records out +48 bytes transferred in 0.001 secs (48000 bytes/sec) +.Ed +.Sh ERRORS +A program can read or write no more than 48 bytes to +.Nm . +Both +.Xr read 2 +and +.Xr write 2 +will return +.Er EINVAL +if more than 48 bytes are read or written at once. +.Sh AUTHORS +The original +.Nm +driver was written by +.An Takahiro Kambe Aq Mt taca@back-street.net . +.An David Young Aq Mt dyoung@NetBSD.org +modified the original and added it to +.Nx . +.\" .Sh BUGS diff --git a/static/netbsd/man4/man4.i386/elanpar.4 b/static/netbsd/man4/man4.i386/elanpar.4 new file mode 100644 index 00000000..c7028ba1 --- /dev/null +++ b/static/netbsd/man4/man4.i386/elanpar.4 @@ -0,0 +1,97 @@ +.\" $NetBSD: elanpar.4,v 1.9 2017/02/17 22:24:46 christos Exp $ +.\" +.\" +.\" Copyright (c) 2008 David Young. All rights reserved. +.\" +.\" Written by David Young. +.\" +.\" 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 DAVID YOUNG ``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 DAVID +.\" YOUNG 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 February 17, 2017 +.Dt ELANPAR 4 i386 +.Os +.Sh NAME +.Nm elanpar +.Nd AMD Elan SC520 Programmable Address Regions +.Sh SYNOPSIS +.Cd "elansc* at mainbus? bus ?" +.Cd "elanpar* at elansc?" +.Sh DESCRIPTION +The +.Nm +driver supports the write-protect feature of the AMD +Elan SC520 microcontroller's integrated Programmable Address Regions. +Currently, +.Nm +protects the kernel text from being overwritten by the CPU or errant DMA. +.Sh DIAGNOSTICS +.Bl -diag +.It elanpar0: cpu violated write-protect window %u +.It elanpar0: gp violated write-protect window %u +.It elanpar0: pci violated write-protect window %u +.El +.Pp +A Programmable Address Region stopped +either the CPU, the general-purpose bus +.Pq gp , +or a PCI bus master from writing to the indicated window of +write-protected memory. +.Bl -diag +.It elanpar0: %u bytes of kernel text are unprotected +.El +.Pp +.Nm +has not write-protected +.Em %u +bytes of the kernel text. +.Sh SEE ALSO +.Xr i386/elanpex 4 , +.Xr i386/elansc 4 , +.Xr dmesg 8 , +.Xr syslogd 8 +.Sh HISTORY +The +.Nm +device first appeared in +.Nx 5.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An David Young Aq Mt dyoung@NetBSD.org . +.Sh BUGS +.Nm +leaves as many as 65535 bytes unprotected at the beginning and +end of kernel text. +Also, +.Nm +is not compatible with setting breakpoints +using +.Xr ddb 4 . +Disable +.Nm +using +.Ic drvctl Fl d Ar elanpar0 +before setting a breakpoint with +.Xr ddb 4 . diff --git a/static/netbsd/man4/man4.i386/elanpex.4 b/static/netbsd/man4/man4.i386/elanpex.4 new file mode 100644 index 00000000..5a98aaba --- /dev/null +++ b/static/netbsd/man4/man4.i386/elanpex.4 @@ -0,0 +1,101 @@ +.\" $NetBSD: elanpex.4,v 1.9 2017/02/17 22:24:46 christos Exp $ +.\" +.\" +.\" Copyright (c) 2008 David Young. All rights reserved. +.\" +.\" Written by David Young. +.\" +.\" 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 DAVID YOUNG ``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 DAVID +.\" YOUNG 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 February 17, 2017 +.Dt ELANPEX 4 i386 +.Os +.Sh NAME +.Nm elanpex +.Nd AMD Elan SC520 PCI Exception Instrumentation +.Sh SYNOPSIS +.Cd "elansc* at mainbus? bus ?" +.Cd "elanpex* at elansc?" +.Sh DESCRIPTION +The +.Nm +driver supports the PCI exception-reporting facilities of the AMD +Elan SC520 microcontroller's integrated PCI host controller. +.Sh DIAGNOSTICS +.Bl -ohang +.It Em PCI master exceptions +.Pp +The host controller may originate a transaction of type +.Em %s +on bus address +.Em %x +that fails for the following reasons: +.Bl -diag +.It elanpex0: %s %x master retry timeout +.It elanpex0: %s %x master target abort +.It elanpex0: %s %x master abort +.It elanpex0: %s %x master system error +.It elanpex0: %s %x master received parity error +.It elanpex0: %s %x master detected parity error +.El +.Pp +Transaction types include +.Bl -diag +.It i/o read +.It i/o write +.It memory rd +.It memory wr +.It cfg rd +.It cfg wr +.El +.It Em PCI target exceptions +.Pp +The host controller may be the target of a failed transaction of type +.Em %s +at bus address +.Em %x . +Failures may occur for the following reasons: +.Bl -diag +.It elanpex0: %s %x target delayed txn timeout +.It elanpex0: %s %x target address parity +.It elanpex0: %s %x target data parity +.El +.Pp +Transaction types are alike to failed master exceptions. +.El +.Sh SEE ALSO +.Xr i386/elanpar 4 , +.Xr i386/elansc 4 , +.Xr dmesg 8 , +.Xr syslogd 8 +.Sh HISTORY +The +.Nm +device first appeared in +.Nx 5.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An David Young Aq Mt dyoung@NetBSD.org . diff --git a/static/netbsd/man4/man4.i386/elansc.4 b/static/netbsd/man4/man4.i386/elansc.4 new file mode 100644 index 00000000..2938a450 --- /dev/null +++ b/static/netbsd/man4/man4.i386/elansc.4 @@ -0,0 +1,131 @@ +.\" $NetBSD: elansc.4,v 1.16 2020/08/24 19:36:32 ryoon Exp $ +.\" +.\" Copyright (c) 2002 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jason R. Thorpe. +.\" +.\" 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 August 25, 2020 +.Dt ELANSC 4 i386 +.Os +.Sh NAME +.Nm elansc +.Nd AMD Elan SC520 System Controller driver +.Sh SYNOPSIS +.Cd "elansc* at mainbus? bus ?" +.Cd "gpio* at elansc?" +.Cd "pci* at elansc?" +.Cd "elanpar* at elansc?" +.Cd "elanpex* at elansc?" +.Sh DESCRIPTION +The +.Nm +driver supports the system controller of the AMD Elan SC520 microcontroller. +The SC520 consists of an AMD Am5x86 processor core, integrated PCI host +controller, and several standard on-chip devices, such as NS16550-compatible +UARTs, real-time clock, and timers. +.Pp +The Elan SC520 also provides several special on-chip devices. +The following are supported by the +.Nm +driver: +.Bl -bullet +.It +Watchdog timer. +The watchdog timer may be configured for a 1 +second, 2 second, 4 second, 8 second, 16 second, or 32 second +expiration period. +.It +PCI exceptions reporting. +The SC520 microcontroller can report exceptions that occur as it +acts as both a PCI bus master and a bus target. +See +.Xr i386/elanpex 4 . +.It +RAM write-protection. +The SC520 microcontroller can designate write-protected regions of RAM using +the Programmable Address Regions registers. +See +.Xr i386/elanpar 4 . +.It +Programmable Input/Output. +The SC520 microcontroller supports 32 programmable I/O signals (PIOs) +that can be used on the system board to monitor signals or control devices +that are not handled by the other functions in the SC520 microcontroller. +These signals can be programmed to be inputs or to be driven +.Dq high +or +.Dq low +as outputs. +Pins can be accessed through the +.Xr gpio 4 +framework. +The +.Xr gpioctl 8 +program allows easy manipulation of pins from userland. +.It +PCI host-bridge optimization. +.Nm +takes advantage of a suspend/resume cycle to tune the PCI host-bridge +for higher performance. +.El +.Sh SEE ALSO +.Xr gpio 4 , +.Xr i386/elanpar 4 , +.Xr i386/elanpex 4 , +.Xr gpioctl 8 , +.Xr wdogctl 8 +.Sh HISTORY +The +.Nm +device first appeared in +.Nx 2.0 . +PIO function support was added in +.Ox 3.6 , +and subsequently ported to +.Nx 4.0 . +Support for PCI exceptions reporting and for RAM write-protection +first appeared in +.Nx 5.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Jason R. Thorpe Aq Mt thorpej@NetBSD.org . +.An Jasper Wallace +provided the work-around for a hardware bug related to the watchdog timer +in some steppings of the SC520 CPU. +Support for the PIO function was added to +.Ox 3.6 +by +.An Alexander Yurchenko Aq Mt grange@openbsd.org +and was ported to +.Nx +by +.An Jeff Rizzo Aq Mt riz@NetBSD.org . +.An David Young Aq Mt dyoung@NetBSD.org +added support for PCI exceptions reporting and for RAM write-protection +using the Programmable Address Regions. diff --git a/static/netbsd/man4/man4.i386/gcscide.4 b/static/netbsd/man4/man4.i386/gcscide.4 new file mode 100644 index 00000000..ba2a4532 --- /dev/null +++ b/static/netbsd/man4/man4.i386/gcscide.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: gcscide.4,v 1.5 2017/02/17 22:24:46 christos Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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 February 17, 2017 +.Dt GCSCIDE 4 +.Os +.Sh NAME +.Nm gcscide +.Nd IDE Controller for the AMD CS5535 Companion device +.Sh SYNOPSIS +.Cd "gcscide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the IDE controller of the AMD CS5535 Companion device, +and provides the interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr i386/intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 diff --git a/static/netbsd/man4/man4.i386/gcscpcib.4 b/static/netbsd/man4/man4.i386/gcscpcib.4 new file mode 100644 index 00000000..dd2dcd8c --- /dev/null +++ b/static/netbsd/man4/man4.i386/gcscpcib.4 @@ -0,0 +1,56 @@ +.\" $NetBSD: gcscpcib.4,v 1.9 2017/02/17 22:24:46 christos Exp $ +.\" $OpenBSD: glxpcib.4,v 1.7 2007/11/17 11:38:50 mbalmer Exp $ +.\" +.\" Michael Shalayeff, 2007. Public Domain. +.\" +.Dd February 17, 2017 +.Dt GCSCPCIB 4 +.Os +.Sh NAME +.Nm gcscpcib +.Nd "AMD CS553[56] PCI-ISA bridge with timecounter, watchdog timer, and GPIO" +.Sh SYNOPSIS +.Cd "gcscpcib* at pci? dev ? function ?" +.Cd "gpio* at gcscpcib?" +.Cd "isa* at gcscpcib?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the AMD Geode CS5535 and 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, +and a GPIO device. +The watchdog timer may be configured via the +.Xr wdogctl 8 +utility and the GPIO pins can be manipulated via the +.Xr gpioctl 8 +utility. +.Sh SEE ALSO +.Xr gpio 4 , +.Xr i386/intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr pcib 4 , +.Xr gpioctl 8 , +.Xr wdogctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.3 +as +.Nm glxpcib +before being ported to +.Nx 5.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Michael Shalayeff +and +.An Yojiro UO . +The GPIO parts were added by +.An Marc Balmer Aq Mt marc@msys.ch . diff --git a/static/netbsd/man4/man4.i386/geodecntr.4 b/static/netbsd/man4/man4.i386/geodecntr.4 new file mode 100644 index 00000000..a23e90fe --- /dev/null +++ b/static/netbsd/man4/man4.i386/geodecntr.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: geodecntr.4,v 1.3 2009/05/27 19:24:00 snj Exp $ +.\" +.\" Copyright (c) 2006 Frank Kardel. +.\" +.\" 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 June 24, 2006 +.Dt GEODECNTR 4 +.Os +.Sh NAME +.Nm geodecntr +.Nd AMD Geode SC1100 High Resolution Counter +.Sh SYNOPSIS +.Cd "geodegcb* at pci? dev ? function ?" +.Cd "geodecntr* at geodegcb?" +.Sh DESCRIPTION +The +.Nm +driver supports the +.Tn AMD +SC1100 +controllers +and provides a timecounter implementation for the 27MHz +counter. +.Pp +The other timing sources in the SC1100 suffer from +power management features that prohibit i8254 and TSC +from being used for time keeping. +This +.Nm +driver +makes the 27MHz counter available for the +.Xr timecounter 9 +framework. +.Sh SEE ALSO +.Xr timecounter 9 diff --git a/static/netbsd/man4/man4.i386/geodewdog.4 b/static/netbsd/man4/man4.i386/geodewdog.4 new file mode 100644 index 00000000..84669639 --- /dev/null +++ b/static/netbsd/man4/man4.i386/geodewdog.4 @@ -0,0 +1,61 @@ +.\" $NetBSD: geodewdog.4,v 1.7 2017/02/17 22:24:46 christos Exp $ +.\" +.\" Copyright (c) 2005 David Young. All rights reserved. +.\" +.\" This manual page was written by David Young. +.\" +.\" 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 DAVID YOUNG ``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 DAVID +.\" YOUNG 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 February 17, 2017 +.Dt GEODEWDOG 4 i386 +.Os +.Sh NAME +.Nm geodewdog +.Nd AMD Geode SC1100 Watchdog Timer driver +.Sh SYNOPSIS +.Cd "geodegcb* at pci? dev ? function ?" +.Cd "geodewdog* at geodegcb?" +.Sh DESCRIPTION +The +.Nm +driver supports the AMD Geode SC1100 microcontroller's integrated +watchdog timer. +The watchdog timer may be configured for expiration periods between +one and 16776 seconds (more than 4.5 hours). +.Sh SEE ALSO +.Xr i386/elansc 4 , +.Xr wdogctl 8 +.Sh HISTORY +The +.Nm +device first appeared in +.Nx 4.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An David Young Aq Mt dyoung@NetBSD.org . +It was derived from the +.Xr i386/elansc 4 +driver by +.An Jason R. Thorpe Aq Mt thorpej@NetBSD.org . diff --git a/static/netbsd/man4/man4.i386/glxsb.4 b/static/netbsd/man4/man4.i386/glxsb.4 new file mode 100644 index 00000000..f053fd68 --- /dev/null +++ b/static/netbsd/man4/man4.i386/glxsb.4 @@ -0,0 +1,70 @@ +.\" $NetBSD: glxsb.4,v 1.5 2017/02/17 22:24:46 christos Exp $ +.\" $OpenBSD: glxsb.4,v 1.5 2007/05/31 19:19:54 jmc 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 February 17, 2017 +.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 crypto 4 . +.Sh SEE ALSO +.Xr crypto 4 , +.Xr i386/intro 4 , +.Xr pci 4 , +.Xr random 4 , +.Xr crypto 9 +.Sh HISTORY +The +.Nm +device first appeared in +.Nx 4.0 . +.Sh AUTHORS +The +.Nm +driver was written for +.Ox +by +.An Tom Cosgrove . +It was ported to +.Nx +by +.An Jared D. McNeill Aq Mt jmcneill@NetBSD.org . +.Sh BUGS +The +.Nm +driver only provides random numbers and AES acceleration. +Since it does not provide HMACs, IPSec will not currently use it; +it will however be used by OpenSSH. diff --git a/static/netbsd/man4/man4.i386/gscpcib.4 b/static/netbsd/man4/man4.i386/gscpcib.4 new file mode 100644 index 00000000..fe041588 --- /dev/null +++ b/static/netbsd/man4/man4.i386/gscpcib.4 @@ -0,0 +1,75 @@ +.\" $NetBSD: gscpcib.4,v 1.7 2017/02/17 22:24:46 christos Exp $ +.\" $OpenBSD: gscpcib.4,v 1.4 2005/01/20 22:08:01 jmc 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 February 17, 2017 +.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 +.Xr pcib 4 +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 i386/intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr pcib 4 , +.Xr gpioctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.6 +and +.Nx 4.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Alexander Yurchenko Aq Mt grange@openbsd.org +and was ported to +.Nx +by +.An Jared D. McNeill Aq Mt jmcneill@NetBSD.org . diff --git a/static/netbsd/man4/man4.i386/intro.4 b/static/netbsd/man4/man4.i386/intro.4 new file mode 100644 index 00000000..ce04771a --- /dev/null +++ b/static/netbsd/man4/man4.i386/intro.4 @@ -0,0 +1,176 @@ +.\" $NetBSD: intro.4,v 1.36 2024/09/07 19:13:27 rillig Exp $ +.\" +.\" Copyright (c) 1997 Jonathan Stone +.\" 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 for the +.\" NetBSD Project. See https://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 February 26, 2021 +.Dt INTRO 4 i386 +.Os +.Sh NAME +.Nm intro +.Nd introduction to i386 special files and hardware support +.Sh DESCRIPTION +This section describes the special files, related driver functions, +and networking support +available in the system. +In this part of the manual, the +.Tn SYNOPSIS +section of +each configurable device gives a sample specification +for use in constructing a system description for the +.Xr config 1 +program. +The +.Tn 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 must be rebooted. +.Pp +The autoconfiguration system is described in +.Xr x86/autoconf 4 . +A list of the supported devices is given below. +.Sh LIST OF DEVICES +The devices listed below are supported in this incarnation of +the system. +Devices are indicated by their functional interface. +Not all supported devices are listed. +.\" +.\" +.\" +.Pp +Standard builtin devices: +.Bl -tag -width speaker(4) -offset indent -compact +.\" +.\" +.\" +.It Xr com 4 +NS8250-, NS16450-, and NS16550-based asynchronous serial +communications device interface +.It Xr x86/lpt 4 +Parallel port device interface +.It Xr x86/fdc 4 +Standard NEC 765 floppy disk controller. +.It Xr mca 4 +MCA I/O bus. +.It Xr x86/mem 4 +Main memory interface +.It Xr pci 4 +PCI I/O bus. +.It Xr eisa 4 +EISA I/O bus, either as main bus or via PCI-EISA bridge. +.It Xr isa 4 +ISA bus and ISA devices, either as main bus or via PCI-ISA bridge. +.It Xr isa 4 +isa I/O bus. +.It Xr isapnp 4 +``bus'' for ISA devices with PnP support. +.It Xr speaker 4 +console speaker device interface +.El +.\" +.\" +.\" +.Pp +PCMCIA devices are supported through the +.Xr pcmcia 4 +bus and associated device drivers. +.\" +.\" +.\" +.Pp +Cardbus devices are supported through the +.Xr cardbus 4 +bus and associated device drivers. +.\" +.\" +.\" +.Pp +USB devices are supported through the +.Xr usb 4 +bus and associated device drivers. +.\" +.\" +.\" +.Pp +Console devices using ISA, EISA, or PCI video adaptors and standard +AT or PS/2 keyboards are supported by the machine independent +.Xr wscons 4 +console driver. +.\" +.\" +.\" +.Sh SEE ALSO +.Xr config 1 , +.Xr netintro 4 , +.Xr x86/autoconf 4 +.Sh HISTORY +The +.Tn i386 +.Nm intro +appeared in +.Nx 1.0 . diff --git a/static/netbsd/man4/man4.i386/io.4 b/static/netbsd/man4/man4.i386/io.4 new file mode 100644 index 00000000..2587462e --- /dev/null +++ b/static/netbsd/man4/man4.i386/io.4 @@ -0,0 +1,76 @@ +.\" $NetBSD: io.4,v 1.4 2002/01/15 01:42:01 wiz Exp $ +.\" +.\" Copyright (c) 1996 Joerg Wunsch +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" 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 DEVELOPERS ``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 DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $FreeBSD: src/share/man/man4/man4.i386/io.4,v 1.6.2.2 2000/12/12 10:00:55 ru Exp $ +.\" +.Dd January 1, 1996 +.Dt IO 4 i386 +.Os +.Sh NAME +.Nm io +.Nd I/O privilege file +.Sh DESCRIPTION +.Bf -symbolic +This device is obsolete and is provided for compatibility purposes +only; use +.Xr i386_iopl 2 +instead. +.Ef +.Pp +After opening +.Pa /dev/io +for writing +the process is granted full I/O privileges; closing the returned file +descriptor does +.Em not +result in revocation of these privileges. +The new I/O privileges can be useful in order to write userland +programs that handle some hardware directly. +.Pp +The entire access control is handled by the file access permissions +of +.Pa /dev/io , +so care should be taken in granting rights for this device. +.Pp +I/O privilege on access to +.Pa /dev/io +is only granted if the kernel was built with the +.Dv COMPAT_10 +option. +.Sh FILES +.Bl -tag -width Pa -compact +.It Pa /dev/io +.El +.Sh SEE ALSO +.Xr mem 4 +.Sh HISTORY +The +.Nm +file appeared in +.Nx 1.0 +after it was in the kernel for some time. diff --git a/static/netbsd/man4/man4.i386/lms.4 b/static/netbsd/man4/man4.i386/lms.4 new file mode 100644 index 00000000..6fd57d8d --- /dev/null +++ b/static/netbsd/man4/man4.i386/lms.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: lms.4,v 1.19 2024/09/07 19:13:27 rillig 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 https://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 February 17, 2017 +.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? +.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 i386/mms 4 , +.Xr pms 4 , +.Xr wsmouse 4 diff --git a/static/netbsd/man4/man4.i386/mms.4 b/static/netbsd/man4/man4.i386/mms.4 new file mode 100644 index 00000000..9af07bdc --- /dev/null +++ b/static/netbsd/man4/man4.i386/mms.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: mms.4,v 1.19 2024/09/07 19:13:27 rillig 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 https://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 February 17, 2017 +.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? +.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 i386/lms 4 , +.Xr pms 4 , +.Xr wsmouse 4 diff --git a/static/netbsd/man4/man4.i386/pcibios.4 b/static/netbsd/man4/man4.i386/pcibios.4 new file mode 100644 index 00000000..3d6350c9 --- /dev/null +++ b/static/netbsd/man4/man4.i386/pcibios.4 @@ -0,0 +1,164 @@ +.\" $NetBSD: pcibios.4,v 1.19 2017/07/03 21:30:59 wiz Exp $ +.\" +.\" 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 October 9, 2005 +.Dt PCIBIOS 4 i386 +.Os +.Sh NAME +.Nm pcibios +.Nd introduction to PCI BIOS support +.Sh SYNOPSIS +.Cd "options PCIBIOS" +.Cd "options PCIBIOSVERBOSE" +.Cd "#options PCIBIOS_IRQS_HINT=0x0a00 #IRQ 9,11" +.Cd "#options PCIBIOS_INTR_FIXUP_FORCE" +.Cd "options PCIBIOS_INTR_GUESS" +.Cd "#options PCIINTR_DEBUG" +.Sh INTRODUCTION +.Nm +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 +.Nx +boots. +.Pp +Options: +.Bl -tag -width PCIBIOS_IRQS_HINT -offset 3n +.It Nm PCIBIOS +turn on the PCI BIOS support. +.It Nm PCIBIOSVERBOSE +make the setup procedure verbose. +.It Nm PCIBIOS_IRQS_HINT +hint for IRQ use. +When +.Em PCI_INTR_FIXUP +cannot guess an adequate IRQ for a device, the hint is used. +.Pp +The value is a logical or of power-of-2s of allowable interrupts: +.Bl -column "XX-0xffff" "XX-0xffff" "XX-0xffff" "XX-0xffff" -compact -offset 2n +.It Em "IRQ Value" Ta Em "IRQ Value" Ta Em "IRQ Value" Ta Em "IRQ Value" +.It "\& 0 0x0001" Ta " 4 0x0010" Ta " 8 0x0100" Ta "12 0x1000" +.It "\& 1 0x0002" Ta " 5 0x0020" Ta " 9 0x0200" Ta "13 0x2000" +.It "\& 2 0x0004" Ta " 6 0x0040" Ta "10 0x0400" Ta "14 0x4000" +.It "\& 3 0x0008" Ta " 7 0x0080" Ta "11 0x0800" Ta "15 0x8000" +.El +For example, +.Qq Sy options PCIBIOS_IRQS_HINT=0x0a00 +allows IRQ 9 and IRQ 11. +.Pp +The kernel global variable +.Va pcibios_irqs_hint +holds this value, +so a user can override this value without kernel recompilation. +For example: +.Bl -bullet -compact +.It +To specify this value on the fly, type the following command +at the boot prompt to drop into DDB (the in-kernel debugger; +you have to specify +.Qq Sy options DDB +to make kernel with DDB): +.Dl Ic boot -d +And type the following command on +.Qq Sy db> +prompt: +.Dl Ic write pcibios_irqs_hint 0x0a00 +Then type the following to continue to boot: +.Dl Ic c +.It +To modify kernel image without kernel recompilation, +run the following command on shell: +.Dl Ic gdb --write /netbsd +And type the following commands at the +.Qq Sy (gdb) +prompt: +.Dl Ic set pcibios_irqs_hint=0xa00 +.Dl Ic quit +.El +.It Nm PCIBIOS_INTR_FIXUP_FORCE +Some buggy BIOS implementations provide inconsistent +information between the PCI Interrupt Configuration Register +and the PCI Interrupt Routing table. +In such case, the PCI Interrupt Configuration Register takes precedence +by default. +If this happens, a kernel with +.Em PCIBIOSVERBOSE +shows +.Qq Sy WARNING: preserving irq XX +in the PCI routing table. +.Pp +If +.Em PCIBIOS_INTR_FIXUP_FORCE +is specified in addition to the +.Em PCI_INTR_FIXUP , +the PCI Interrupt Routing table takes precedence. +In this case, a kernel with +.Em PCIBIOSVERBOSE +shows +.Qq Sy WARNING: overriding irq XX +in the PCI routing table. +.It Nm PCIBIOS_INTR_GUESS +make +.Em PCI_INTR_FIXUP +work with unknown interrupt router. +.Pp +If a PCI interrupt router is not known, normally interrupt +configuration will not be touched. +.Pp +But if +.Em PCIBIOS_INTR_GUESS +is specified in addition to the +.Em PCI_INTR_FIXUP , +and if 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 corresponding PCI Interrupt +Configuration Register will be configured accordingly. +.It Nm PCIINTR_DEBUG +make the +.Em PCI_INTR_FIXUP +procedure verbose. +.El +.Sh SEE ALSO +.Xr cardbus 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +code appeared in +.Nx 1.5 . +.Sh BUGS +The +.Em PCIBIOS_ADDR_FIXUP +option may conflict with the PCI CardBus driver's own +address fixup. diff --git a/static/netbsd/man4/man4.i386/pcmb.4 b/static/netbsd/man4/man4.i386/pcmb.4 new file mode 100644 index 00000000..0a0b831a --- /dev/null +++ b/static/netbsd/man4/man4.i386/pcmb.4 @@ -0,0 +1,39 @@ +.\" $NetBSD: pcmb.4,v 1.1 2021/08/01 21:56:27 andvar Exp $ +.\" +.\" Copyright (c) 2021 The NetBSD Foundation, Inc. +.\" 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 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 August 1, 2021 +.Dt PCMB 4 i386 +.Os +.Sh NAME +.Nm pcmb +.Nd Generic PCI-MCA bridge +.Sh SYNOPSIS +.Cd "pcmb* at pci? dev ? function ?" +.Sh DESCRIPTION +The pcmb driver supports generic PCI-MCA bridges. +.Sh SEE ALSO +.Xr mca 4 , +.Xr pci 4 diff --git a/static/netbsd/man4/man4.i386/pnpbios.4 b/static/netbsd/man4/man4.i386/pnpbios.4 new file mode 100644 index 00000000..5ed4291f --- /dev/null +++ b/static/netbsd/man4/man4.i386/pnpbios.4 @@ -0,0 +1,100 @@ +.\" $NetBSD: pnpbios.4,v 1.16 2021/03/12 10:48:29 nia Exp $ +.\" +.\" Copyright (c) 1999-2002 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 February 17, 2017 +.Dt PNPBIOS 4 i386 +.Os +.Sh NAME +.Nm pnpbios +.Nd introduction to PnP BIOS support +.Sh SYNOPSIS +.Cd "pnpbios0 at mainbus?" +.Cd "XX* at pnpbios0 index ?" +.Pp +.Cd options PNPBIOSVERBOSE +.Cd options PNPBIOSDEBUG +.Sh INTRODUCTION +.Nm +provides support for finding and attaching devices by +extracting information from the PnP BIOS of a machine. +.Sh SUPPORTED DEVICES +.Nx +includes the following +.Nm +drivers, sorted by driver name: +.Pp +.Bl -tag -width x86/fdc(4) -offset indent -compact +.It Xr com 4 +serial communications interface +.It Xr ess 4 +ESS Technology AudioDrive family audio device driver +.It Xr x86/fdc 4 +floppy controller +.It Xr joy 4 +game controller +.It Xr x86/lpt 4 +parallel port driver +.It Xr pciide 4 +PCI IDE controllers driver +.It Xr pckbc 4 +PC keyboard/mouse controller +.It Xr sb 4 +SoundBlaster family audio device driver +.It Xr wss 4 +Windows Sound System hardware driver +.It Xr ym 4 +Yamaha OPL3-SA3 sound driver +.El +.Sh SEE ALSO +.Xr i386/intro 4 , +.Xr isa 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.5 . +.Sh BUGS +The +.Nm +bus provides a different way to attach devices than the real buses +(e.g., +.Xr isa 4 ) . +The reason to use +.Nm +instead of the real bus is that some machines have weird routings +of, e.g., interrupts. +The exact information about these things can +be found in the BIOS, which is why the +.Nm +bus has a better chance of succeeding with getting it right. +.Pp +Many older BIOS implementations do not support PnP, +and some newer ones do not follow the standards. diff --git a/static/netbsd/man4/man4.i386/rdcide.4 b/static/netbsd/man4/man4.i386/rdcide.4 new file mode 100644 index 00000000..f8440992 --- /dev/null +++ b/static/netbsd/man4/man4.i386/rdcide.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: rdcide.4,v 1.2 2017/02/17 22:24:46 christos Exp $ +.\" +.\" Copyright (c) 2011 Manuel Bouyer. +.\" +.\" 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 February 17, 2017 +.Dt RDCIDE 4 +.Os +.Sh NAME +.Nm rdcide +.Nd RDC IDE disk controllers driver +.Sh SYNOPSIS +.Cd "rdcide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the RDC IDE controller as found in the vortex86 and PMX-1000 +system on chip, and provides the interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr i386/intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 diff --git a/static/netbsd/man4/man4.i386/rdcpcib.4 b/static/netbsd/man4/man4.i386/rdcpcib.4 new file mode 100644 index 00000000..83b52b02 --- /dev/null +++ b/static/netbsd/man4/man4.i386/rdcpcib.4 @@ -0,0 +1,49 @@ +.\" $NetBSD: rdcpcib.4,v 1.2 2026/03/27 21:26:37 andvar Exp $ +.\" +.\" Copyright (c) 2011 Manuel Bouyer. +.\" +.\" 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 March 27, 2026 +.Dt RDCPCIB 4 +.Os +.Sh NAME +.Nm rdcpcib +.Nd RDC PCI/ISA bridge and watchdog timer driver +.Sh SYNOPSIS +.Cd "rdcpcib* at pci? dev ? function ?" +.Cd "isa0 at rdcpcib?" +.Sh DESCRIPTION +The +.Nm +driver supports the PCI/ISA bridge and watchdog timer as found in RDC's +Vortex86 and PMX-1000 system on chip. +The watchdog timer may be configured for expiration periods between one and +512 seconds. +.Sh DIAGNOSTIC +.Bl -diag +.It "rdcpcib0: watchdog fired bit set, clearing" +A bit was set in the watchdog's timer registers indicating that it has reached +the configured timeout at last once. +This probably means this boot has been triggered by a watchdog timeout. +.El +.Sh SEE ALSO +.Xr wdogctl 8 diff --git a/static/netbsd/man4/man4.i386/spic.4 b/static/netbsd/man4/man4.i386/spic.4 new file mode 100644 index 00000000..6f99fb74 --- /dev/null +++ b/static/netbsd/man4/man4.i386/spic.4 @@ -0,0 +1,71 @@ +.\" $NetBSD: spic.4,v 1.6 2020/08/25 15:31:24 ryoon Exp $ +.\" +.\" Copyright (c) 2002 The NetBSD Foundation, Inc. +.\" 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 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 April 24, 2002 +.Dt SPIC 4 i386 +.Os +.Sh NAME +.Nm spic +.Nd Sony Programmable I/O Controller +.Sh SYNOPSIS +.Cd "spic* at acpi?" +.Cd "wsmouse* at spic?" +.Sh DESCRIPTION +Some +.Tn Sony +computers have an I/O controller that handles various interface +devices, e.g., the jog dial. +The +.Nm +driver provides support for some of these. +.Pp +The actual protocol used by the +.Tn SPIC +seems to vary a lot between different models; this driver has only +been tested on the Vaio SRX77. +.Pp +The +.Nm +driver handles the jog dial and its associated buttons. +They are turned into a +.Nm wsmouse +which can the be accessed in the normal way. +The jog dial works as a +scroll button, and clicking it generates a click with the "middle" button. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr sony 4 , +.Xr wsmouse 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . +.Sh BUGS +The +.Nm +driver only works with some hardware configurations. |
