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