summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/njata.4 4.html
blob: d4267566e07216871fa389cf6dbd449014bfb760 (plain)
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
66
67
68
69
70
71
72
73
<table class="head">
  <tr>
    <td class="head-ltitle">NJATA(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">NJATA(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">njata</code> &#x2014; <span class="Nd">Workbit
    NinjaATA-32 CardBus IDE controller 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">njata* at cardbus? function ?</code>
  <br/>
  <code class="Cd">njata* at cardbus? function ? flags 0x01	# with wait
    0x01</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">njata</code> driver provides support for the
    following Workbit Bus-Master CardBus IDE controller chips:</p>
<div class="Bd-indent">
<dl class="Bl-tag">
  <dt>NinjaATA-32Bi</dt>
  <dd>CardBus / PCMCIA dual mode IDE controller (&#x201C;DuoATA&#x201D;). This
      controller is mainly used for portable drives. This driver supports the
      CardBus mode.</dd>
  <dt>NPATA-32</dt>
  <dd>CardBus IDE controller. This controller is widely used for CardBus
      CompactFlash adapters.</dd>
</dl>
</div>
<p class="Pp">These controllers are capable of bus-mastering for ATA PIO
    transfer. The <code class="Nm">njata</code> driver uses the bus-mastering
    PIO transfer unless transfer buffer is unaligned, and significantly reduces
    CPU usage for PIO-only ATA devices compared with usual PIO transfer.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="CONFIGURATION"><a class="permalink" href="#CONFIGURATION">CONFIGURATION</a></h1>
<p class="Pp">The optional flags parameter is the &#x201C;wait&#x201D; value for
    ATA transfers. Some combinations of host and device may fail without flags
    parameter or <code class="Cd">flags 0x00</code>. In this case try adding
    wait values like <code class="Cd">flags 0x01</code> or
    <code class="Cd">flags 0x11</code> (the wait parameter is composed of two
    4-bit values). Smaller wait values should be faster. Too long waits may
    cause transfer errors.</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">cardbus(4)</a>, <a class="Xr">intro(4)</a>,
    <a class="Xr">wd(4)</a>, <a class="Xr">wdc(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">njata</code> device driver first appeared in
    <span class="Ux">NetBSD 4.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp"><span class="An">ITOH Yasufumi</span></p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">September 7, 2006</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>