1.\" $NetBSD: pciide.4,v 1.56 2003/12/14 09:22:11 wiz Exp $ 2.\" 3.\" Copyright (c) 1998,2003 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 Manuel Bouyer. 16.\" 4. The name of the author may not be used to endorse or promote products 17.\" derived from this software without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd December 14, 2003 31.Dt PCIIDE 4 32.Os 33.Sh NAME 34.Nm pciide 35.Nd PCI IDE disk controllers driver 36.Sh SYNOPSIS 37.Cd "pciide* at pci? dev ? function ? flags 0x0000" 38.Cd "pciide* at pnpbios? index ?" 39.Sh DESCRIPTION 40The 41.Nm 42driver supports the PCI IDE controllers as specified in the 43"PCI IDE controller specification, revision 1.0" draft, and provides the 44interface with the hardware for the 45.Ic ata 46driver. 47Please use the chip-specific drivers for the following controllers for 48enhanced and DMA support: 49.Bl -dash -compact -offset indent 50.It 51Acard ATP850 (Ultra/33) and ATP860 (Ultra/66) IDE Controllers: 52.Xr acardide 4 53.It 54Acer labs M5229 IDE Controller: 55.Xr aceride 4 56.It 57Advanced Micro Devices AMD-756, 766, and 768 IDE Controllers: 58.Xr viaide 4 59.It 60CMD Tech PCI0643, PCI0646, PCI0648, and PCI0649 IDE Controllers: 61.Xr cmdide 4 62.It 63Contaq Microsystems/Cypress CY82C693 IDE Controller: 64.Xr cypide 4 65.It 66HighPoint HPT366 Ultra/66, HPT370 Ultra/100, HPT372, and HPT374 Ultra/133 67IDE controller: 68.Xr hptide 4 69.It 70Intel PIIX, PIIX3, and PIIX4 IDE Controllers: 71.Xr piixide 4 72.It 73Intel i31244 Serial ATA controller: 74.Xr artsata 4 75.It 76Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5) IDE Controllers: 77.Xr piixide 4 78.It 79NVIDIA nForce/nForce2 IDE Controllers: 80.Xr viaide 4 81.It 82OPTi 82c621 (plus a few of its derivatives) IDE Controllers: 83.Xr optiide 4 84.It 85Promise PDC20246 (Ultra/33), PDC20262 (Ultra/66), PDC20265/PDC20267 (Ultra100), 86PDC20268 (Ultra/100TX2 and Ultra/100TX2v2), Ultra/133, Ultra/133TX2 and 87Ultra/133TX2v2 PCI IDE controllers: 88.Xr pdcide 4 89.It 90Silicon Image 0680 IDE controller: 91.Xr cmdide 4 92.It 93Silicon Image SATALink 3112 Serial ATA controller: 94.Xr satalink 4 95.It 96Silicon Integrated System 5597/5598 IDE controller: 97.Xr siside 4 98.It 99VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, 100and VT8235 IDE Controllers: 101.Xr viaide 4 102.El 103.Pp 104The 0x0001 flag forces the 105.Nm 106driver to use DMA when there is no explicit DMA mode setting support for 107the controller but DMA is present. 108If the BIOS didn't set up the controller 109properly, this can cause a machine hang. 110.Pp 111The 0x0002 flag forces the 112.Nm 113driver to disable DMA on chipsets for which DMA would normally be 114enabled. 115This can be used as a debugging aid, or to work around 116problems where the IDE controller is wired up to the system incorrectly. 117.Sh SEE ALSO 118.Xr acardide 4 , 119.Xr aceride 4 , 120.Xr artsata 4 , 121.Xr ata 4 , 122.Xr atapi 4 , 123.Xr cmdide 4 , 124.Xr cypide 4 , 125.Xr hptide 4 , 126.Xr intro 4 , 127.Xr optiide 4 , 128.Xr pci 4 , 129.Xr pdcide 4 , 130.Xr piixide 4 , 131.Xr pnpbios 4 , 132.Xr satalink 4 , 133.Xr siside 4 , 134.Xr slide 4 , 135.Xr viaide 4 , 136.Xr wd 4 , 137.Xr wdc 4 138