xref: /netbsd-src/share/man/man4/wdc.4 (revision 481fca6e59249d8ffcf24fef7cfbe7b131bfb080)
1.\"	$NetBSD: wdc.4,v 1.10 2000/06/12 11:11:19 ad 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 the University of
16.\"	California, Berkeley and its contributors.
17.\" 4. Neither the name of the University nor the names of its contributors
18.\"    may be used to endorse or promote products derived from this software
19.\"    without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31.\"
32.Dd October 15, 1998
33.Dt WDC 4
34.Os
35.Sh NAME
36.Nm wdc
37.Nd WD100x compatible hard disk controllers driver
38.Sh SYNOPSIS
39.Ss ISA and ISA plug'n'play controllers
40.Cd "wdc0 at isa? port 0x1f0 irq 14 flags 0x00"
41.Cd "wdc1 at isa? port 0x170 irq 15 flags 0x00"
42.Cd "wdc* at isapnp?"
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 basic functions for the
55.Xr wd 4
56and
57.Xr atapi 4
58drivers. This driver supports IDE and EIDE controllers, as well as MFM, RLL
59and ESDI on the ISA bus. PCI IDE controllers in legacy mode are also supported,
60but the
61.Xr pciide 4
62driver may provide more functionaliy.
63.Pp
64For the ISA front-end, the 0x01 flag enables 32-bit I/O negotiation in
65the driver. This is known to cause problems with some motherboards.
66.Sh SEE ALSO
67.Xr atapi 4 ,
68.Xr intro 4 ,
69.Xr pciide 4 ,
70.Xr scsi 4 ,
71.Xr wd 4
72