1.\" $NetBSD: wdc.4,v 1.14 2001/09/11 22:52:54 wiz 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 Open Firmware ISA 44.Cd "wdc* at ofisa?" 45.Ss PCMCIA controllers 46.Cd "wdc* at pcmcia? function ?" 47.Ss arm32 48.Cd "wdc0 at pioc? offset 0x01f0 irq 9" 49.Ss atari 50.Cd "wdc0 at mainbus0" 51.Ss amiga 52.Cd "wdc0 at mainbus0" 53.Sh DESCRIPTION 54The 55.Nm 56driver provides the basic functions for the 57.Xr wd 4 58and 59.Xr atapi 4 60drivers. This driver supports IDE and EIDE controllers, as well as MFM, RLL 61and ESDI on the ISA bus. PCI IDE controllers in legacy mode are also supported, 62but the 63.Xr pciide 4 64driver may provide more functionality. 65.Pp 66On the ISA front-end, the following flags are supported: 67.Bl -tag -compact -width "0x0000" -offset "xxxx" 68.It 0x0001 69Enables 32-bit I/O negotiation in the driver. This is known to cause 70problems with some motherboards. 71.It 0x0002 72Don't probe for the second drive. 73.It 0x0004 74Set WDC_CAPABILITY_ATA_NOSTREAM flag. 75.It 0x0008 76Set WDC_CAPABILITY_ATAPI_NOSTREAM flag. 77.El 78.Sh SEE ALSO 79.Xr atapi 4 , 80.Xr intro 4 , 81.Xr isa 4 , 82.Xr isapnp 4 , 83.Xr mainbus 4 , 84.Xr ofisa 4 , 85.Xr pciide 4 , 86.Xr pcmcia 4 , 87.Xr scsi 4 , 88.Xr wd 4 89