1.\" $OpenBSD: intro.4,v 1.1 2010/02/09 19:08:39 miod Exp $ 2.\" Copyright (c) 1990, 1991 Regents of the University of California. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. Neither the name of the University nor the names of its contributors 14.\" may be used to endorse or promote products derived from this software 15.\" without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" from: @(#)intro.4 5.2 (Berkeley) 3/27/91 30.\" 31.Dd $Mdocdate: February 9 2010 $ 32.Dt INTRO 4 loongson 33.Os 34.Sh NAME 35.Nm intro 36.Nd introduction to special files and hardware support 37.Sh DESCRIPTION 38The manual pages in section 4 describe the special files, 39related driver functions, and networking support 40available in the system. 41In this part of the manual, the 42.Sx SYNOPSIS 43section of 44each configurable device gives a sample specification 45for use in constructing a system description for the 46.Xr config 8 47program. 48The 49.Sx DIAGNOSTICS 50section lists messages which may appear on the console 51and/or in the system error log 52.Pa /var/log/messages 53due to errors in device operation; 54see 55.Xr syslogd 8 56for more information. 57.Pp 58This section contains both devices 59which may be configured into the system 60and network related information. 61The networking support is introduced in 62.Xr netintro 4 . 63.Sh DEVICE SUPPORT 64This section describes the hardware supported on the 65loongson platform. 66Software support for these devices comes in two forms. 67A hardware device may be supported with a character or block 68.Em device driver , 69or it may be used within the networking subsystem and have a 70.Em network interface driver . 71Block and character devices are accessed through files in the file 72system of a special type; see 73.Xr mknod 8 . 74Network interfaces are indirectly accessed through the interprocess 75communication facilities provided by the system; see 76.Xr socket 2 . 77.Pp 78A hardware device is identified to the system at configuration time 79and the appropriate device or network interface driver is then compiled 80into the system. 81When the resultant system is booted, the autoconfiguration facilities 82in the system probe for the device and, if found, enable the software 83support for it. 84If a device does not respond at autoconfiguration 85time it is not accessible at any time afterwards. 86To enable a device which did not autoconfigure, 87the system will have to be rebooted. 88.Pp 89The autoconfiguration system is described in 90.Xr autoconf 4 . 91.Sh LIST OF DEVICES 92A complete list of available devices is contained within the pages 93describing the system buses and controllers. 94For example, a PCI device would be listed in the 95.Xr pci 4 96man page. 97The following buses and controllers list these devices: 98.Pp 99.Bl -tag -compact -width "pcctwo(4)" -offset 3n 100.It Xr isa 4 101introduction to ISA bus support 102.It Xr pci 4 103introduction to PCI bus support 104.El 105.Sh SEE ALSO 106.Xr autoconf 4 , 107.Xr config 8 108