summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/cardbus.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/cardbus.4 4.html')
-rw-r--r--static/netbsd/man4/cardbus.4 4.html214
1 files changed, 214 insertions, 0 deletions
diff --git a/static/netbsd/man4/cardbus.4 4.html b/static/netbsd/man4/cardbus.4 4.html
new file mode 100644
index 00000000..a54e29d7
--- /dev/null
+++ b/static/netbsd/man4/cardbus.4 4.html
@@ -0,0 +1,214 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">CARDBUS(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">CARDBUS(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">cardbus</code>, <code class="Nm">cardslot</code>,
+ <code class="Nm">cbb</code> &#x2014; <span class="Nd">CardBus
+ 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">cbb* at pci? dev? function ?</code>
+ <br/>
+ <code class="Cd">cardslot* at cbb?</code>
+ <br/>
+ <code class="Cd">cardbus* at cardslot?</code>
+ <br/>
+ <code class="Cd">pcmcia* at cardslot?</code>
+ <br/>
+ <code class="Cd">XX* at cardbus? function ?</code></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp"><span class="Ux">NetBSD</span> provides machine-independent bus
+ support and drivers for CardBus devices.</p>
+<p class="Pp">The <code class="Cm">cbb</code> device represents the CardBus
+ controller. Each controller has a number of slots, represented by the
+ <code class="Cm">cardslot</code> devices. A slot can have either a CardBus
+ card or a PCMCIA card, which are attached with the
+ <code class="Cm">cardbus</code> or <code class="Cm">pcmcia</code> devices,
+ respectively.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SUPPORTED_DEVICES"><a class="permalink" href="#SUPPORTED_DEVICES">SUPPORTED
+ DEVICES</a></h1>
+<p class="Pp"><span class="Ux">NetBSD</span> includes the following
+ machine-independent CardBus drivers, sorted by function and driver name:</p>
+<section class="Ss">
+<h2 class="Ss" id="Network_interfaces"><a class="permalink" href="#Network_interfaces">Network
+ interfaces</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">ath(4)</a></dt>
+ <dd>Atheros 5210/5211/5212 802.11</dd>
+ <dt><a class="Xr">atw(4)</a></dt>
+ <dd>ADMtek ADM8211 (802.11)</dd>
+ <dt><a class="Xr">bwi(4)</a></dt>
+ <dd>Broadcom BCM430x/4318 (802.11)</dd>
+ <dt><a class="Xr">ex(4)</a></dt>
+ <dd>3Com 3c575TX and 3c575BTX</dd>
+ <dt><a class="Xr">fxp(4)</a></dt>
+ <dd>Intel i8255x</dd>
+ <dt><a class="Xr">ral(4)</a></dt>
+ <dd>Ralink Technology RT25x0 (802.11)</dd>
+ <dt><a class="Xr">re(4)</a></dt>
+ <dd>RealTek 8139C+/8169/8169S/8110S</dd>
+ <dt><a class="Xr">rtk(4)</a></dt>
+ <dd>Realtek 8129/8139</dd>
+ <dt><a class="Xr">rtw(4)</a></dt>
+ <dd>Realtek 8180L (802.11)</dd>
+ <dt><a class="Xr">tlp(4)</a></dt>
+ <dd>DECchip 21143</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="Serial_interfaces"><a class="permalink" href="#Serial_interfaces">Serial
+ interfaces</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">com(4)</a></dt>
+ <dd>Modems and serial cards</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="SCSI_controllers"><a class="permalink" href="#SCSI_controllers">SCSI
+ controllers</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">adv(4)</a></dt>
+ <dd>AdvanSys 1200[A,B], 9xx[U,UA]</dd>
+ <dt><a class="Xr">ahc(4)</a></dt>
+ <dd>Adaptec ADP-1480</dd>
+ <dt><a class="Xr">njs(4)</a></dt>
+ <dd>Workbit NinjaSCSI-32</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="USB_controllers"><a class="permalink" href="#USB_controllers">USB
+ controllers</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">ehci(4)</a></dt>
+ <dd>Enhanced Host Controller (2.0)</dd>
+ <dt><a class="Xr">ohci(4)</a></dt>
+ <dd>Open Host Controller</dd>
+ <dt><a class="Xr">uhci(4)</a></dt>
+ <dd>Universal Host Controller</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="IEEE1394_controllers"><a class="permalink" href="#IEEE1394_controllers">IEEE1394
+ controllers</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">fwohci(4)</a></dt>
+ <dd>OHCI controller</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="SD/MMC/SDIO_controllers"><a class="permalink" href="#SD/MMC/SDIO_controllers">SD/MMC/SDIO
+ controllers</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">sdhc(4)</a></dt>
+ <dd>SD Host Controller</dd>
+</dl>
+</div>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="Disk_and_tape_controllers"><a class="permalink" href="#Disk_and_tape_controllers">Disk
+ and tape controllers</a></h2>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt><a class="Xr">njata(4)</a></dt>
+ <dd>Workbit NinjaATA-32</dd>
+ <dt><a class="Xr">siisata(4)</a></dt>
+ <dd>Silicon Image SATA-II controllers</dd>
+</dl>
+</div>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
+<p class="Pp"><code class="Nm">cbb</code> devices may not be properly handled by
+ the system BIOS on i386-family systems. If, on an i386-family system, the
+ <code class="Nm">cbb</code> driver reports</p>
+<div class="Bd Bd-indent"><code class="Li">cbb0: NOT USED because of
+ unconfigured interrupt</code></div>
+then enabling
+<ul class="Bl-item Bd-indent Bl-compact">
+ <li><code class="Cd">options PCI_ADDR_FIXUP</code></li>
+ <li><code class="Cd">options PCI_BUS_FIXUP</code></li>
+ <li><code class="Cd">options PCI_INTR_FIXUP</code></li>
+</ul>
+or (if ACPI is in use)
+<ul class="Bl-item Bd-indent Bl-compact">
+ <li><code class="Cd">options PCI_INTR_FIXUP_DISABLED</code></li>
+</ul>
+in the kernel configuration might be of use.
+</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">options(4)</a>, <a class="Xr">pci(4)</a>,
+ <a class="Xr">pcmcia(4)</a>, <a class="Xr">cardbus(9)</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">cardbus</code> driver appeared in
+ <span class="Ux">NetBSD 1.5</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
+<section class="Ss">
+<h2 class="Ss" id="Memory_space_conflicts"><a class="permalink" href="#Memory_space_conflicts">Memory
+ space conflicts</a></h2>
+<p class="Pp"><span class="Ux">NetBSD</span> maps memory on Cardbus (and
+ therefore PCMCIA cards behind Cardbus) in order to access the cards
+ (including reading CIS tuples on PCMCIA cards) and access the devices using
+ the RBUS abstraction. When the mapping does not work, PCMCIA cards are
+ typically ignored on insert, and Cardbus cards are recognized but
+ nonfunctional. On i386, the kernel has a heuristic to choose a memory
+ address for mapping, defaulting to 1 GB, but choosing 0.5 GB on machines
+ with less than 192 MB RAM and 2 GB on machines with more than 1 GB of RAM.
+ The intent is to use an address that is larger than available RAM, but low
+ enough to work; some systems seem to have trouble with addresses requiring
+ more than 20 address lines. On i386, the following kernel configuration line
+ disables the heuristics and forces Cardbus memory space to be mapped at
+ 512M; this value makes Cardbus support (including PCMCIA attachment under a
+ cbb) work on some notebook models, including the IBM Thinkpad 600E
+ (2645-4AU) and the Compaq ARMADA M700:</p>
+<p class="Pp"><code class="Cd">options
+ RBUS_MIN_START=&quot;0x20000000&quot;</code></p>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="PCMCIA_addressing_choice"><a class="permalink" href="#PCMCIA_addressing_choice">PCMCIA
+ addressing choice</a></h2>
+<p class="Pp">By default, on i386 and amd64, the kernel uses
+ <code class="Dv">RBUS_IO_BASE</code> as 0x4000 and
+ <code class="Dv">RBUS_IO_SIZE</code> as 0x2000. On some machines, this
+ fails, due to a requirement that these addresses fit within 12 bits. The
+ following kernel options have been reported as helpful:</p>
+<p class="Pp"><code class="Cd">options RBUS_IO_BASE=&quot;0xa00&quot;</code></p>
+<p class="Pp"><code class="Cd">options
+ RBUS_IO_SIZE=&quot;0x00ff&quot;</code></p>
+</section>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">December 31, 2014</td>
+ <td class="foot-os">NetBSD 10.1</td>
+ </tr>
+</table>