1.\" $NetBSD: pcppi.4,v 1.6 2003/02/19 10:48:00 drochner Exp $ 2.\" 3.\" Copyright (c) 1999 4.\" Matthias Drochner. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd April 21, 1999 28.Os 29.Dt PCPPI 4 30.Sh NAME 31.Nm pcppi 32.Nd PC (ISA) control and timer port driver 33.Sh SYNOPSIS 34.Cd "pcppi* at isa?" 35.Cd "isabeep* at pcppi?" 36(alpha only) 37.Cd "sysbeep* at pcppi?" 38(i386 only) 39.Cd "spkr0 at pcppi?" 40.Cd "midi* at pcppi?" 41.Sh DESCRIPTION 42The 43.Nm 44driver handles resource allocation and device attachment for the 45ports related to the ISA speaker in the traditional PC/AT 46.Dq design . 47These are the 48.Dq system control port 49(which was implemented by the 8255 50.Dq PPI 51in the XT, hence the name of this driver) 52at IO address 0x61 and the first 8253 timer at 0x40-0x43. 53.Pp 54The 55.Nm 56driver provides its child devices with the ability to output simple 57tones through the PC speaker. The 58.Xr speaker 4 59and 60.Xr midi 4 61devices use this to synthesize sounds. 62The 63.Xr isabeep 4 64and 65.Xr sysbeep 4 66devices are helpers which the 67.Xr pckbd 4 68driver uses as a substitute for a 69.Dq keyboard beep , 70because the PC keyboard hardware doesn't provide this. 71.Sh SEE ALSO 72.Xr isa 4 , 73.Xr midi 4 , 74.Xr pckbd 4 , 75.Xr speaker 4 76