1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<table class="head">
<tr>
<td class="head-ltitle">CMDIDE(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">CMDIDE(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">cmdide</code> — <span class="Nd">CMD
Technology and Silicon Image IDE disk controllers driver</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">cmdide* at pci? dev ? function ? flags
0x0000</code>
<br/>
<code class="Cd">options PCIIDE_CMD064x_DISABLE</code>
<br/>
<code class="Cd">options PCIIDE_CMD0646U_ENABLEUDMA</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">cmdide</code> driver supports the CMD
Technology PCI0640, PCI0643, PCI0646, PCI0648, PCI0649, and Silicon Image
0680 IDE controllers, and provides the interface with the hardware for the
<a class="Xr">ata(4)</a> driver.</p>
<p class="Pp">The 0x0002 flag forces the <code class="Nm">cmdide</code> driver
to disable DMA on chipsets for which DMA would normally be enabled. This can
be used as a debugging aid, or to work around problems where the IDE
controller is wired up to the system incorrectly.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">ata(4)</a>, <a class="Xr">atapi(4)</a>,
<a class="Xr">intro(4)</a>, <a class="Xr">pci(4)</a>,
<a class="Xr">pciide(4)</a>, <a class="Xr">wd(4)</a>,
<a class="Xr">wdc(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">There's no way to reliably know if a PCI064x controller is enabled
or not. If the driver finds a PCI064x, it will assume it is enabled unless
the PCIIDE_CMD064x_DISABLE option is specified in the kernel config file.
This will be a problem only if the controller has been disabled in the BIOS
and another controller has been installed and uses the ISA legacy I/O ports
and interrupts.</p>
<p class="Pp">The PCI0646U controller is known to be buggy with Ultra-DMA
transfers, so Ultra-DMA is disabled by default for this controller. To
enable Ultra-DMA, use the PCIIDE_CMD0646U_ENABLEUDMA option. Ultra-DMA can
eventually be disabled on a per-drive basis with config flags, see
<a class="Xr">wd(4)</a>.</p>
<p class="Pp">The timings used for the PIO and DMA modes for controllers listed
above are for a PCI bus running at 30 or 33 MHz. This driver may not work
properly on overclocked systems.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">December 13, 2003</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|