xref: /netbsd-src/share/man/man4/wdc.4 (revision 23c8222edbfb0f0932d88a8351d3a0cf817dfb9e)
1.\"	$NetBSD: wdc.4,v 1.17 2003/10/08 11:20:09 bouyer Exp $
2.\"
3.\" Copyright (c) 1998 Manuel Bouyer.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\"    must display the following acknowledgement:
15.\"	This product includes software developed by Manuel Bouyer.
16.\" 4. The name of the author may not be used to endorse or promote products
17.\"    derived from this software without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
30.Dd October 8, 2003
31.Dt WDC 4
32.Os
33.Sh NAME
34.Nm wdc
35.Nd WD100x compatible hard disk controllers driver
36.Sh SYNOPSIS
37.Ss ISA and ISA plug'n'play controllers
38.Cd "wdc0 at isa? port 0x1f0 irq 14 flags 0x00"
39.Cd "wdc1 at isa? port 0x170 irq 15 flags 0x00"
40.Cd "wdc* at isapnp?"
41.Ss Open Firmware ISA
42.Cd "wdc* at ofisa?"
43.Ss PCMCIA controllers
44.Cd "wdc* at pcmcia? function ?"
45.Ss arm32
46.Cd "wdc0 at pioc? offset 0x01f0 irq 9"
47.Ss atari
48.Cd "wdc0 at mainbus0"
49.Ss amiga
50.Cd "wdc0 at mainbus0"
51.Sh DESCRIPTION
52The
53.Nm
54driver provides the interface with the hardware for the
55.Xr ata 4
56driver. This driver supports IDE and EIDE controllers, as well as MFM, RLL
57and ESDI on the ISA bus. PCI IDE controllers in legacy mode are also supported,
58but the
59.Xr pciide 4
60driver may provide more functionality.
61.Pp
62On the ISA front-end, the following flags are supported:
63.Bl -tag -compact -width "0x0000" -offset "xxxx"
64.It 0x0001
65Enables 32-bit I/O negotiation in the driver. This is known to cause
66problems with some motherboards.
67.It 0x0002
68Don't probe for the second drive.
69.It 0x0004
70Set WDC_CAPABILITY_ATA_NOSTREAM flag.
71.It 0x0008
72Set WDC_CAPABILITY_ATAPI_NOSTREAM flag.
73.El
74.Sh SEE ALSO
75.Xr ata 4 ,
76.Xr atapi 4 ,
77.Xr intro 4 ,
78.Xr isa 4 ,
79.Xr isapnp 4 ,
80.Xr mainbus 4 ,
81.Xr ofisa 4 ,
82.Xr pciide 4 ,
83.Xr pcmcia 4 ,
84.Xr scsi 4 ,
85.Xr wd 4
86