xref: /netbsd-src/share/man/man4/wss.4 (revision c48880b9cf76549f6437e7282482c887eb98a8dc)
1.\"   $NetBSD: wss.4,v 1.21 2020/08/24 19:16:42 ryoon 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 August 25, 2020
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 acpi?"
38.Cd "wss*   at isapnp?"
39.Cd "wss*   at pnpbios? index ?"
40.Cd "audio* at audiobus?"
41.Cd "opl*   at wss?"
42.Sh DESCRIPTION
43The
44.Nm
45driver supports Microsoft's Windows Sound System, the MAD16 chip based
46hardware, and their clones.
47.Pp
48The base I/O port is set by a jumper on the board; valid choices are
490x530, 0x604, 0xE80, or 0xF40.
50Both IRQ and DMA channels are software programmable.
51The IRQ may be set to 7, 9, 10, or 11, and
52the DMA channel may be set to 0, 1, or 3.
53.Pp
54The device
55.Cm flags
56must have bit 0 (value 1) set to enable the MAD16 support.
57This is to
58avoid potential conflicts with other devices when probing the MAD16
59because it requires use of extra I/O ports not in the base port range.
60Chips needing this flag include the OPTi 82C928, 82C929, 82C831, and
61the OAK OTI-601D.
62Setting bit 1 (value 2) in
63.Cm flags
64disables the joystick port on MAD16 hardware.
65.Sh SEE ALSO
66.Xr acpi 4 ,
67.Xr audio 4 ,
68.Xr isa 4 ,
69.Xr isapnp 4 ,
70.Xr joy 4 ,
71.Xr opl 4 ,
72.Xr i386/pnpbios 4
73