2000-10-05 16:31:15 +04:00
|
|
|
.\" $NetBSD: wdc.4,v 1.12 2000/10/05 12:31:15 pooka 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
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" 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
|
2000-04-14 02:04:23 +04:00
|
|
|
For the ISA front-end, the 0x01 flag enables 32-bit I/O negotiation in
|
1999-05-19 18:41:54 +04:00
|
|
|
the driver. This is known to cause problems with some motherboards.
|
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
|