1.\" $NetBSD: wss.4,v 1.17 2001/09/11 22:52:54 wiz Exp $ 2.\" 3.\" Copyright (c) 1995 Michael Long. 4.\" 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.\" 3. The name of the author may not be used to endorse or promote products 15.\" derived from this software without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" 28.Dd November 8, 1995 29.Dt WSS 4 30.Os 31.Sh NAME 32.Nm wss 33.Nd Windows Sound System hardware audio driver 34.Sh SYNOPSIS 35.Cd "wss0 at isa? port 0x530 irq 10 drq 0 drq2 1" 36.Cd "wss0 at isa? port 0x530 irq 10 drq 0 flags 1" 37.Cd "wss* at isapnp?" 38.Cd "wss* at pnpbios? index ?" 39.Cd "audio* at wss?" 40.Cd "opl* at wss?" 41.Sh DESCRIPTION 42The 43.Nm 44driver supports Microsoft's Windows Sound System, the MAD16 chip based 45hardware, and their clones. 46.Pp 47The base I/O port is set by a jumper on the board; valid choices are 480x530, 0x604, 0xE80, or 0xF40. 49Both IRQ and DMA channels are software programmable. 50The IRQ may be set to 7, 9, 10, or 11, and 51the DMA channel may be set to 0, 1, or 3. 52.Pp 53The device 54.Cm flags 55must have bit 0 (value 1) set to enable the MAD16 support. This is to 56avoid potential conflicts with other devices when probing the MAD16 57because it requires use of extra I/O ports not in the base port range. 58Chips needing this flag include the OPTi 82C928, 82C929, 82C831, and 59the OAK OTI-601D. Setting bit 1 (value 2) in 60.Cm flags 61disables the joystick port on MAD16 hardware. 62.Sh SEE ALSO 63.Xr audio 4 , 64.Xr isa 4 , 65.Xr isapnp 4 , 66.Xr joy 4 , 67.Xr opl 4 , 68.Xr pnpbios 4 69