1.\" $NetBSD: pciide.4,v 1.62 2008/05/29 08:23:39 jnemeth 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 May 29, 2008 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 60Advanced Micro Devices Geode IDE Controllers: 61.Xr geodeide 4 62.It 63CMD Tech PCI0643, PCI0646, PCI0648, and PCI0649 IDE Controllers: 64.Xr cmdide 4 65.It 66Contaq Microsystems/Cypress CY82C693 IDE Controller: 67.Xr cypide 4 68.It 69HighPoint HPT366 Ultra/66, HPT370 Ultra/100, HPT372, and HPT374 Ultra/133 70IDE controller: 71.Xr hptide 4 72.It 73Intel PIIX, PIIX3, and PIIX4 IDE Controllers: 74.Xr piixide 4 75.It 76Intel i31244 Serial ATA controller: 77.Xr artsata 4 78.It 79Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5/ICH6) IDE Controllers: 80.Xr piixide 4 81.It 82NVIDIA nForce/nForce2 IDE Controllers: 83.Xr viaide 4 84.It 85OPTi 82c621 (plus a few of its derivatives) IDE Controllers: 86.Xr optiide 4 87.It 88Promise PDC20246 (Ultra/33), PDC20262 (Ultra/66), PDC20265/PDC20267 (Ultra100), 89PDC20268 (Ultra/100TX2 and Ultra/100TX2v2), Ultra/133, Ultra/133TX2 and 90Ultra/133TX2v2 PCI IDE controllers: 91.Xr pdcide 4 92.It 93Serverworks K2 SATA controllers: 94.Xr svwsata 4 95.It 96Silicon Image 0680 IDE controller: 97.Xr cmdide 4 98.It 99Silicon Image SATALink 3112 Serial ATA controller: 100.Xr satalink 4 101.It 102Silicon Image SteelVine 3124/3132/3531 Serial ATA II controller: 103.Xr siisata 4 104.It 105Silicon Integrated System 5597/5598 IDE controller: 106.Xr siside 4 107.It 108Symphony Labs 82C105 and Winbond W83C553F IDE controller: 109.Xr slide 4 110.It 111VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, 112and VT8235 IDE Controllers: 113.Xr viaide 4 114.El 115.Pp 116The 0x0001 flag forces the 117.Nm 118driver to use DMA when there is no explicit DMA mode setting support for 119the controller but DMA is present. 120If the BIOS didn't set up the controller 121properly, this can cause a machine hang. 122.Pp 123The 0x0002 flag forces the 124.Nm 125driver to disable DMA on chipsets for which DMA would normally be 126enabled. 127This can be used as a debugging aid, or to work around 128problems where the IDE controller is wired up to the system incorrectly. 129.Sh SEE ALSO 130.Xr acardide 4 , 131.Xr aceride 4 , 132.Xr artsata 4 , 133.Xr ata 4 , 134.Xr atapi 4 , 135.Xr cmdide 4 , 136.Xr cypide 4 , 137.Xr geodeide 4 , 138.Xr hptide 4 , 139.Xr intro 4 , 140.Xr optiide 4 , 141.Xr pci 4 , 142.Xr pdcide 4 , 143.Xr piixide 4 , 144.Xr pnpbios 4 , 145.Xr satalink 4 , 146.Xr siisata 4 , 147.Xr siside 4 , 148.Xr slide 4 , 149.Xr viaide 4 , 150.Xr wd 4 , 151.Xr wdc 4 152