1 .\" $NetBSD: cardbus.4,v 1.32 2009/07/19 06:28:08 kiyohara Exp $
3 .\" Copyright (c) 1999-2006 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Lennart Augustsson.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
39 .Cd "cbb* at pci? dev? function ?"
40 .Cd "cardslot* at cbb?"
41 .Cd "cardbus* at cardslot?"
42 .Cd "pcmcia* at cardslot?"
43 .Cd "XX* at cardbus? function ?"
46 provides machine-independent bus support and
47 drivers for CardBus devices.
51 device represents the CardBus controller.
52 Each controller has a number
53 of slots, represented by the
56 A slot can have either a CardBus card or a
58 card, which are attached with the
62 devices, respectively.
65 includes the following machine-independent CardBus
66 drivers, sorted by function and driver name:
67 .Ss Network interfaces
68 .Bl -tag -width speaker -offset indent -compact
70 Atheros 5210/5211/5212 802.11
72 ADMtek ADM8211 (802.11)
74 3Com 3c575TX and 3c575BTX
78 Ralink Technology RT25x0 (802.11)
82 Realtek 8180L (802.11)
87 .Bl -tag -width speaker -offset indent -compact
89 Modems and serial cards
92 .Bl -tag -width speaker -offset indent -compact
94 AdvanSys 1200[A,B], 9xx[U,UA]
101 .Bl -tag -width speaker -offset indent -compact
103 Enhanced Host Controller (2.0)
107 Universal Host Controller
109 .Ss IEEE1394 controllers
110 .Bl -tag -width speaker -offset indent -compact
114 .Ss Disk and tape controllers
115 .Bl -tag -width speaker -offset indent -compact
117 Silicon Image SATA-II controllers.
121 devices may not be properly handled by the system BIOS on i386-family
123 If, on an i386-family system, the
126 .Dl cbb0: NOT USED because of unconfigured interrupt
128 .Bl -item -offset indent -compact
130 .Cd options PCI_ADDR_FIXUP
132 .Cd options PCI_BUS_FIXUP
134 .Cd options PCI_INTR_FIXUP
136 or (if ACPI is in use)
137 .Bl -item -offset indent -compact
139 .Cd options PCI_INTR_FIXUP_DISABLED
141 in the kernel configuration might be of use.
168 .Ss Memory space conflicts
170 maps memory on Cardbus and PCMCIA cards in order to access the cards
171 (including reading CIS tuples on PCMCIA cards)
172 and access the devices using the
175 When the mapping does not work, PCMCIA cards are typically ignored on
176 insert, and Cardbus cards are recognized but nonfunctional.
177 On i386, the kernel has a heuristic to choose a memory address for
178 mapping, defaulting to 1 GB, but choosing 0.5 GB on machines with less
179 than 192 MB RAM and 2 GB on machines with more than 1 GB of RAM.
180 The intent is to use an address that is larger than available RAM, but
181 low enough to work; some systems seem to have trouble with
182 addresses requiring more than 20 address lines.
183 On i386, the following kernel configuration line disables the
184 heuristics and forces Cardbus
185 memory space to be mapped at 512M; this value makes Cardbus support
186 (including PCMCIA attachment under a cbb) work on some notebook
187 models, including the IBM Thinkpad 600E (2645-4AU) and the Compaq
190 .Cd options RBUS_MIN_START="0x20000000"