1.\" $NetBSD: wdc.4,v 1.18 2009/10/19 18:41: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.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" 25.Dd October 8, 2003 26.Dt WDC 4 27.Os 28.Sh NAME 29.Nm wdc 30.Nd WD100x compatible hard disk controllers driver 31.Sh SYNOPSIS 32.Ss ISA and ISA plug'n'play controllers 33.Cd "wdc0 at isa? port 0x1f0 irq 14 flags 0x00" 34.Cd "wdc1 at isa? port 0x170 irq 15 flags 0x00" 35.Cd "wdc* at isapnp?" 36.Ss Open Firmware ISA 37.Cd "wdc* at ofisa?" 38.Ss PCMCIA controllers 39.Cd "wdc* at pcmcia? function ?" 40.Ss arm32 41.Cd "wdc0 at pioc? offset 0x01f0 irq 9" 42.Ss atari 43.Cd "wdc0 at mainbus0" 44.Ss amiga 45.Cd "wdc0 at mainbus0" 46.Sh DESCRIPTION 47The 48.Nm 49driver provides the interface with the hardware for the 50.Xr ata 4 51driver. This driver supports IDE and EIDE controllers, as well as MFM, RLL 52and ESDI on the ISA bus. PCI IDE controllers in legacy mode are also supported, 53but the 54.Xr pciide 4 55driver may provide more functionality. 56.Pp 57On the ISA front-end, the following flags are supported: 58.Bl -tag -compact -width "0x0000" -offset "xxxx" 59.It 0x0001 60Enables 32-bit I/O negotiation in the driver. This is known to cause 61problems with some motherboards. 62.It 0x0002 63Don't probe for the second drive. 64.It 0x0004 65Set WDC_CAPABILITY_ATA_NOSTREAM flag. 66.It 0x0008 67Set WDC_CAPABILITY_ATAPI_NOSTREAM flag. 68.El 69.Sh SEE ALSO 70.Xr ata 4 , 71.Xr atapi 4 , 72.Xr intro 4 , 73.Xr isa 4 , 74.Xr isapnp 4 , 75.Xr mainbus 4 , 76.Xr ofisa 4 , 77.Xr pciide 4 , 78.Xr pcmcia 4 , 79.Xr scsi 4 , 80.Xr wd 4 81