2001-09-12 02:52:52 +04:00
|
|
|
.\" $NetBSD: wdc.4,v 1.14 2001/09/11 22:52:54 wiz Exp $
|
1998-10-19 16:44:15 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1998 Manuel Bouyer.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
2000-05-15 10:33:21 +04:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
2001-09-12 02:52:52 +04:00
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
2000-05-15 10:33:21 +04:00
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1998-10-19 16:44:15 +04:00
|
|
|
.\"
|
|
|
|
.Dd October 15, 1998
|
1998-11-04 20:35:59 +03:00
|
|
|
.Dt WDC 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1998-10-19 16:44:15 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm wdc
|
|
|
|
.Nd WD100x compatible hard disk controllers driver
|
|
|
|
.Sh SYNOPSIS
|
1998-11-04 20:35:59 +03:00
|
|
|
.Ss ISA and ISA plug'n'play controllers
|
1999-05-19 18:41:54 +04:00
|
|
|
.Cd "wdc0 at isa? port 0x1f0 irq 14 flags 0x00"
|
|
|
|
.Cd "wdc1 at isa? port 0x170 irq 15 flags 0x00"
|
1999-03-03 20:20:47 +03:00
|
|
|
.Cd "wdc* at isapnp?"
|
2000-07-27 02:09:45 +04:00
|
|
|
.Ss Open Firmware ISA
|
|
|
|
.Cd "wdc* at ofisa?"
|
1998-11-04 20:35:59 +03:00
|
|
|
.Ss PCMCIA controllers
|
1998-10-19 16:44:15 +04:00
|
|
|
.Cd "wdc* at pcmcia? function ?"
|
1998-11-04 20:35:59 +03:00
|
|
|
.Ss arm32
|
|
|
|
.Cd "wdc0 at pioc? offset 0x01f0 irq 9"
|
|
|
|
.Ss atari
|
|
|
|
.Cd "wdc0 at mainbus0"
|
2000-02-05 22:34:07 +03:00
|
|
|
.Ss amiga
|
|
|
|
.Cd "wdc0 at mainbus0"
|
1998-10-19 16:44:15 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1999-11-18 17:51:00 +03:00
|
|
|
.Nm
|
1998-10-19 16:44:15 +04:00
|
|
|
driver provides the basic functions for the
|
1999-11-18 17:51:00 +03:00
|
|
|
.Xr wd 4
|
1998-10-19 16:44:15 +04:00
|
|
|
and
|
1999-11-18 17:51:00 +03:00
|
|
|
.Xr atapi 4
|
1998-11-04 20:35:59 +03:00
|
|
|
drivers. This driver supports IDE and EIDE controllers, as well as MFM, RLL
|
2000-03-01 19:28:34 +03:00
|
|
|
and ESDI on the ISA bus. PCI IDE controllers in legacy mode are also supported,
|
1998-11-04 20:35:59 +03:00
|
|
|
but the
|
1998-10-19 16:44:15 +04:00
|
|
|
.Xr pciide 4
|
2000-10-05 16:31:15 +04:00
|
|
|
driver may provide more functionality.
|
1999-11-18 17:51:00 +03:00
|
|
|
.Pp
|
2001-06-07 11:11:49 +04:00
|
|
|
On the ISA front-end, the following flags are supported:
|
|
|
|
.Bl -tag -compact -width "0x0000" -offset "xxxx"
|
|
|
|
.It 0x0001
|
|
|
|
Enables 32-bit I/O negotiation in the driver. This is known to cause
|
|
|
|
problems with some motherboards.
|
|
|
|
.It 0x0002
|
|
|
|
Don't probe for the second drive.
|
|
|
|
.It 0x0004
|
|
|
|
Set WDC_CAPABILITY_ATA_NOSTREAM flag.
|
|
|
|
.It 0x0008
|
|
|
|
Set WDC_CAPABILITY_ATAPI_NOSTREAM flag.
|
|
|
|
.El
|
1998-10-19 16:44:15 +04:00
|
|
|
.Sh SEE ALSO
|
1999-11-18 17:51:00 +03:00
|
|
|
.Xr atapi 4 ,
|
|
|
|
.Xr intro 4 ,
|
2000-07-27 02:09:45 +04:00
|
|
|
.Xr isa 4 ,
|
|
|
|
.Xr isapnp 4 ,
|
|
|
|
.Xr mainbus 4 ,
|
|
|
|
.Xr ofisa 4 ,
|
1999-11-18 17:51:00 +03:00
|
|
|
.Xr pciide 4 ,
|
2000-07-27 02:09:45 +04:00
|
|
|
.Xr pcmcia 4 ,
|
1999-11-18 17:51:00 +03:00
|
|
|
.Xr scsi 4 ,
|
1998-10-19 16:44:15 +04:00
|
|
|
.Xr wd 4
|