2 .\" Copyright (c) 2000,2004 Jeroen Ruigrok van der Werven
3 .\" Copyright (c) 2000,2001,2002 Søren Schmidt
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" $FreeBSD: src/share/man/man4/ata.4,v 1.3.2.18 2002/10/16 13:40:51 fjoe Exp $
28 .\" $DragonFly: src/share/man/man4/ata.4,v 1.8 2007/06/15 05:53:06 swildner Exp $
35 .Nd deprecated (S)ATA/ATAPI disk controller driver
37 For ISA based ATA/ATAPI support:
39 .Cd device ata0 at isa? port IO_WD1 irq 14
40 .Cd device ata1 at isa? port IO_WD2 irq 15
42 For PCI based (S)ATA/ATAPI support:
46 To support (S)ATA compliant disk drives:
49 To support ATAPI CD-ROM, CDR, CDRW, DVD-ROM and DVD-RAM drives:
52 To support ATAPI floppy drives,
53 such as the ZIP and LS120:
56 To support ATAPI tape drives:
59 The following tunables are settable from the loader:
62 set to 1 for DMA access, 0 for PIO (default is DMA).
63 .It Va hw.ata.atapi_dma
64 set to 1 for DMA access, 0 for PIO (default is PIO).
66 set to 1 to enable Write Caching, 0 to disable (default is enabled).
67 (WARNING: might cause data loss on power failures.)
69 set to 1 to enable Tagged Queuing support, 0 to disable (default is disabled).
70 (Only IBM DPTA, DTLA, ICxxxxxxAT, ICxxxxxxAV drives support that.)
75 driver is the deprecated
81 which was ported from newer
85 This driver provides access to disk drives, ATAPI CD-ROM and DVD drives,
86 ZIP drives and tape streamers connected to controllers
87 according to the ATA and ATAPI standards.
88 These devices are also commonly known as IDE or EIDE devices.
90 The currently supported ATA controllers with their maximum speed include:
92 .Bl -tag -width "Promise Ultra/Fasttrak-100 TX2/TX2000" -compact
94 Ultra DMA 100 (UDMA5), 100 MB/sec (depending on model, max stated at boot)
96 Ultra DMA 66 (UDMA4), 66 MB/sec
98 Ultra DMA 100 (UDMA5), 100 MB/sec
100 Ultra DMA 100 (UDMA5), 100 MB/sec
102 Ultra DMA 133 (UDMA6), 133 MB/sec
103 .It Cenatek Rocket Drive
104 Ultra DMA 133 (UDMA6), 133 MB/sec
106 DMA 2 (WDMA2), 16 MB/sec
108 Ultra DMA 66 (UDMA4), 66 MB/sec
110 Ultra DMA 100 (UDMA5), 100 MB/sec
112 DMA 2 (WDMA2), 16 MB/sec
114 Ultra DMA 33 (UDMA2), 33 MB/sec
116 Ultra DMA 66 (UDMA4), 66 MB/sec
118 Ultra DMA 100 (UDMA5), 100 MB/sec
119 .It HighPoint HPT372/HPT374
120 Ultra DMA 133 (UDMA6), 133 MB/sec
122 DMA 2 (WDMA2), 16 MB/sec
124 Ultra DMA 33 (UDMA2), 33 MB/sec
126 Ultra DMA 33 (UDMA2), 33 MB/sec
128 Ultra DMA 66 (UDMA4), 66 MB/sec
129 .It Intel ICH2/ICH3/ICH4/ICH5
130 Ultra DMA 100 (UDMA5), 100 MB/sec
132 Ultra DMA 100 (UDMA5), 100 MB/sec
133 .It NVIDIA nForce ATA100
134 Ultra DMA 100 (UDMA5), 100 MB/sec
135 .It NVIDIA nForce2/nForce3 ATA133
136 Ultra DMA 133 (UDMA6), 133 MB/sec
137 .It Promise Ultra/Fasttrak-33
138 Ultra DMA 33 (UDMA2), 33 MB/sec
139 .It Promise Ultra/Fasttrak-66
140 Ultra DMA 66 (UDMA4), 66 MB/sec
141 .It Promise Ultra/Fasttrak-100 (TX2/TX4)
142 Ultra DMA 100 (UDMA5), 100 MB/sec
143 .It Promise Ultra/Fasttrak-133 TX2/TX2000
144 Ultra DMA 133 (UDMA6), 133 MB/sec
145 .It ServerWorks ROSB4
146 Ultra DMA 33 (UDMA2), 33 MB/sec
148 Ultra DMA 100 (UDMA5), 100 MB/sec (depending on model, max stated at boot)
150 Ultra DMA 133 (UDMA6), 133 MB/sec (depending on model, max stated at boot)
152 Ultra DMA 133 (UDMA5), 133 MB/sec (depending on model, max stated at boot)
154 Ultra DMA 33 (UDMA2), 33 MB/sec
156 Ultra DMA 66 (UDMA4), 66 MB/sec (depending on model, max stated at boot)
158 Ultra DMA 66 (UDMA4), 66 MB/sec
160 Ultra DMA 100 (UDMA5), 100 MB/sec
161 .It VIA 8233/8235/8237
162 Ultra DMA 133 (UDMA6), 133 MB/sec (depending on model, max stated at boot)
165 The currently supported SATA controllers with their maximum speed include:
167 .Bl -tag -width "SiI 3112/3114/3124/3512" -compact
169 Serial ATA 150, 150 MB/sec
170 .It Intel ICH6(R)/(R)W
171 Serial ATA 150, 150 MB/sec
172 .It SiI 3112/3114/3124/3512
173 Serial ATA 150, 150 MB/sec
175 Serial ATA 150, 150 MB/sec
178 All unknown chipsets are supported at the maximum speed of 16 MB/sec.
182 driver also allows for changes to the transfer mode of the devices
183 at a later time when the system is up and running, see
186 The driver attempts to set the maximum performance transfer mode on your disk
187 drives by selecting the highest possible DMA mode. However the
189 driver sometimes issue the message
190 "DMA limited to UDMA33, non-ATA66 cable or device",
191 if the cable is ATA66 (or above) compliant, it is because the other device
192 on this channel states it can only accept upto UDMA2/ATA33 signals.
193 ATAPI devices are left in PIO mode because DMA problems are common despite the
194 device specifications.
195 You can always try to set DMA mode on an ATAPI device using
197 but be aware that your hardware might
203 .Bl -tag -width "/sys/config/GENERIC " -compact
205 ATA disk device nodes
207 ATAPI CD-ROM device nodes
209 ATAPI floppy drive device nodes
211 ATAPI tape drive device nodes
212 .It Pa /sys/config/GENERIC
213 sample generic kernel config file for
222 reserves a number for each possibly connected disk,
223 even when not present.
224 This may result in odd situations where,
226 ad0 and ad2 exist in the absence of ad1.
227 The advantage is that the addition of the formerly absent drive
228 does not cause the numbers of the other drives to change.
232 driver does not support MFM/RLL/ESDI (ST-506) style disks.
234 Remember that in order to use UDMA4 (and above) mode you
236 to use a special 80 conductor cable,
237 and the driver tries to determine if you have such a cable
238 attached before setting UDMA4 mode.
240 The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on
241 the same ATA channel is not recommended,
242 unless they are run at the non-UDMA4 device's lower speed.
243 The driver has been designed to handle that kind of setup but lots of
244 older devices do not like this.
252 driver first appeared in
258 driver was written by
260 .Aq sos@FreeBSD.org .
262 This manual page was written by
263 .An Jeroen Ruigrok van der Werven
264 .Aq asmodai@FreeBSD.org
267 .Aq sos@FreeBSD.org .