1*370b757dSwiz.\" $NetBSD: intro.4,v 1.7 2017/02/18 22:39:01 wiz Exp $ 21e9398faSgarbled.\" 31e9398faSgarbled.\" Copyright (c) 2007 The NetBSD Foundation, Inc. 41e9398faSgarbled.\" All rights reserved. 51e9398faSgarbled.\" 61e9398faSgarbled.\" This code is derived from software contributed to The NetBSD Foundation 71e9398faSgarbled.\" by Tim Rightnour 81e9398faSgarbled.\" 91e9398faSgarbled.\" Redistribution and use in source and binary forms, with or without 101e9398faSgarbled.\" modification, are permitted provided that the following conditions 111e9398faSgarbled.\" are met: 121e9398faSgarbled.\" 1. Redistributions of source code must retain the above copyright 131e9398faSgarbled.\" notice, this list of conditions and the following disclaimer. 141e9398faSgarbled.\" 2. Redistributions in binary form must reproduce the above copyright 151e9398faSgarbled.\" notice, this list of conditions and the following disclaimer in the 161e9398faSgarbled.\" documentation and/or other materials provided with the distribution. 171e9398faSgarbled.\" 181e9398faSgarbled.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 191e9398faSgarbled.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 201e9398faSgarbled.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 211e9398faSgarbled.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 221e9398faSgarbled.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 231e9398faSgarbled.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 241e9398faSgarbled.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 251e9398faSgarbled.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 261e9398faSgarbled.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 271e9398faSgarbled.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 281e9398faSgarbled.\" POSSIBILITY OF SUCH DAMAGE. 291e9398faSgarbled.\" 30633f3639Schristos.Dd February 17, 2017 311e9398faSgarbled.Dt INTRO 4 prep 321e9398faSgarbled.Os 331e9398faSgarbled.Sh NAME 341e9398faSgarbled.Nm intro 351e9398faSgarbled.Nd introduction to prep special files and hardware support 361e9398faSgarbled.Sh DESCRIPTION 371e9398faSgarbledThis section describes the special files, related driver functions, 381e9398faSgarbledand networking support available in the system. 391e9398faSgarbledIn this part of the manual, the 401e9398faSgarbled.Tn SYNOPSIS 411e9398faSgarbledsection of each configurable device gives a sample specification 421e9398faSgarbledfor use in constructing a system description for the 431e9398faSgarbled.Xr config 1 441e9398faSgarbledprogram. 451e9398faSgarbledThe 461e9398faSgarbled.Tn DIAGNOSTICS 471e9398faSgarbledsection lists messages which may appear on the console 481e9398faSgarbledand/or in the system error log 491e9398faSgarbled.Pa /var/log/messages 501e9398faSgarbleddue to errors in device operation; 511e9398faSgarbledsee 521e9398faSgarbled.Xr syslogd 8 531e9398faSgarbledfor more information. 541e9398faSgarbled.Pp 551e9398faSgarbledThis section contains both devices 561e9398faSgarbledwhich may be configured into the system 571e9398faSgarbledand network related information. 581e9398faSgarbledThe networking support is introduced in 591e9398faSgarbled.Xr netintro 4 . 601e9398faSgarbled.Sh PMPPC DEVICE SUPPORT 611e9398faSgarbledThis section describes the hardware supported on the 621e9398faSgarbled.Tn PowerPC Reference Platform 631e9398faSgarbledmachines. 641e9398faSgarbledSoftware support for these devices comes in two forms. 651e9398faSgarbledA hardware device may be supported with a character or block 661e9398faSgarbled.Em device driver , 671e9398faSgarbledor it may be used within the networking subsystem and have a 681e9398faSgarbled.Em network interface driver . 691e9398faSgarbledBlock and character devices are accessed through files in the file 701e9398faSgarbledsystem of a special type; see 711e9398faSgarbled.Xr mknod 8 . 721e9398faSgarbledNetwork interfaces are indirectly accessed through the interprocess 731e9398faSgarbledcommunication facilities provided by the system; see 741e9398faSgarbled.Xr socket 2 . 751e9398faSgarbled.Pp 761e9398faSgarbledA hardware device is identified to the system at configuration time 771e9398faSgarbledand the appropriate device or network interface driver is then compiled 781e9398faSgarbledinto the system. 791e9398faSgarbledWhen the resultant system is booted, the 801e9398faSgarbledautoconfiguration facilities in the system probe for the device 811e9398faSgarbledand, if found, enable the software support for it. 821e9398faSgarbledIf a device does not respond at autoconfiguration 831e9398faSgarbledtime it is not accessible at any time afterwards. 841e9398faSgarbledTo enable a device which did not autoconfigure, 851e9398faSgarbledthe system will have to be rebooted. 861e9398faSgarbled.Pp 871e9398faSgarbledThe autoconfiguration system is described in 881e9398faSgarbled.Xr autoconf 4 . 891e9398faSgarbledA list of the supported devices is given below. 901e9398faSgarbled.Sh SEE ALSO 911e9398faSgarbled.Xr config 1 , 921e9398faSgarbled.Xr autoconf 4 , 93*370b757dSwiz.Xr pnpbus 4 , 94*370b757dSwiz.Xr prep/nvram 4 951e9398faSgarbled.Sh HISTORY 961e9398faSgarbledThe 971e9398faSgarbled.Tn prep 981e9398faSgarbled.Nm intro 991e9398faSgarbledman page first appeared in 1001e9398faSgarbled.Nx 4.0 . 1011e9398faSgarbled.Sh LIST OF DEVICES 1021e9398faSgarbledThe devices listed below are supported in this incarnation of 1031e9398faSgarbledthe system. 1041e9398faSgarbledDevices are indicated by their functional interface. 1051e9398faSgarbledNot all supported devices are listed. 1061e9398faSgarbled.Pp 10754f1f9b7SsnjThe pnpbus is a pseudo-bus which is a configuration interface for certain 108f9d41516Swizdevices on PReP machines. 109f9d41516SwizThese devices are defined in the PReP 1101e9398faSgarbledresidual data with configuration information, similar to 1111138fa34Swiz.Xr isapnp 4 . 1121e9398faSgarbledThe underlying bus is generally ISA. 1131e9398faSgarbled.Pp 1141e9398faSgarbledISA devices are supported through the 1151e9398faSgarbled.Xr isa 4 1161e9398faSgarbledbus and associated devices. 1171e9398faSgarbled.Pp 1181e9398faSgarbledPCI devices are supported through the 1191e9398faSgarbled.Xr pci 4 1201e9398faSgarbledbus and associated devices. 1211e9398faSgarbled.Pp 1221e9398faSgarbledUSB devices are supported through the 1231e9398faSgarbled.Xr usb 4 1241e9398faSgarbledbus and associated devices. 1251e9398faSgarbled.Pp 1261e9398faSgarbledAdditionally, the following specific devices are supported: 1271e9398faSgarbled.Bl -tag -width "xxxxxxxx" -compact -offset indent 1281e9398faSgarbled.It Em com 1291e9398faSgarbledserial ports 1301e9398faSgarbled.It Em nvram 1311e9398faSgarbledNVRAM chip 1321e9398faSgarbled.It Em wdc 1331e9398faSgarbledISA IDE controller 1341e9398faSgarbled.It Em we 1351e9398faSgarbledWestern Digital/SMC WD80x3 ethernet driver 1361e9398faSgarbled.It Em mcclock 1371e9398faSgarbledmc146818 compatible time-of-day clock 1381e9398faSgarbled.It Em mkclock 1391e9398faSgarbledMostek MK48T18 time-of-day chip 1401e9398faSgarbled.El 141