2005-07-13 18:28:12 +04:00
|
|
|
.\" $NetBSD: cardbus.4,v 1.22 2005/07/13 14:28:12 wiz Exp $
|
1999-11-15 01:52:08 +03:00
|
|
|
.\"
|
2001-01-28 05:33:04 +03:00
|
|
|
.\" Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
|
1999-11-15 01:52:08 +03:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Lennart Augustsson.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2005-07-13 18:28:12 +04:00
|
|
|
.Dd July 13, 2005
|
1999-11-15 01:52:08 +03:00
|
|
|
.Dt CARDBUS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
1999-12-16 01:07:30 +03:00
|
|
|
.Nm cardbus ,
|
2001-09-12 02:52:52 +04:00
|
|
|
.Nm cardslot ,
|
1999-12-16 01:07:30 +03:00
|
|
|
.Nm cbb
|
2001-01-28 05:33:04 +03:00
|
|
|
.Nd CardBus driver
|
1999-11-15 01:52:08 +03:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "cbb* at pci? dev? function ?"
|
2001-02-12 07:52:48 +03:00
|
|
|
.Cd "cardslot* at cbb?"
|
1999-11-15 01:52:08 +03:00
|
|
|
.Cd "cardbus* at cardslot?"
|
|
|
|
.Cd "pcmcia* at cardslot?"
|
|
|
|
.Cd "XX* at cardbus? dev ? function ?"
|
2002-03-06 17:43:02 +03:00
|
|
|
.Sh DESCRIPTION
|
1999-11-15 01:52:08 +03:00
|
|
|
.Nx
|
|
|
|
provides machine-independent bus support and
|
2001-01-28 05:33:04 +03:00
|
|
|
drivers for CardBus devices.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Cm cbb
|
2004-05-03 19:01:31 +04:00
|
|
|
device represents the CardBus controller.
|
|
|
|
Each controller has a number
|
2001-01-28 05:33:04 +03:00
|
|
|
of slots, represented by the
|
|
|
|
.Cm cardslot
|
|
|
|
devices. A slot can have either a CardBus card or a
|
|
|
|
.Tn PCMCIA
|
|
|
|
card, which are attached with the
|
|
|
|
.Cm cardbus
|
|
|
|
or
|
|
|
|
.Cm pcmcia
|
|
|
|
devices, respectively.
|
1999-11-15 01:52:08 +03:00
|
|
|
.Sh SUPPORTED DEVICES
|
|
|
|
.Nx
|
2001-01-28 05:33:04 +03:00
|
|
|
includes the following machine-independent CardBus
|
1999-11-15 01:52:08 +03:00
|
|
|
drivers, sorted by function and driver name:
|
|
|
|
.Ss Network interfaces
|
|
|
|
.Bl -tag -width speaker -offset indent -compact
|
|
|
|
.It ex
|
2003-03-31 23:16:49 +04:00
|
|
|
3Com 3c575TX and 3c575BTX
|
1999-11-15 01:52:08 +03:00
|
|
|
.It fxp
|
|
|
|
Intel i8255x
|
2000-05-02 15:54:15 +04:00
|
|
|
.It rtk
|
2003-05-06 22:58:24 +04:00
|
|
|
Realtek 8129/8139
|
2000-02-02 22:57:17 +03:00
|
|
|
.It tlp
|
|
|
|
DECchip 21143
|
|
|
|
.El
|
2000-05-02 15:54:15 +04:00
|
|
|
.Ss Serial interfaces
|
|
|
|
.Bl -tag -width speaker -offset indent -compact
|
|
|
|
.It com
|
|
|
|
Modems and serial cards
|
|
|
|
.El
|
2000-02-02 22:57:17 +03:00
|
|
|
.Ss SCSI controllers
|
|
|
|
.Bl -tag -width speaker -offset indent -compact
|
2002-01-28 04:22:14 +03:00
|
|
|
.It adv
|
|
|
|
AdvanSys 1200[A,B], 9xx[U,UA]
|
2000-02-02 22:57:17 +03:00
|
|
|
.It ahc
|
|
|
|
Adaptec ADP-1480
|
1999-11-15 01:52:08 +03:00
|
|
|
.El
|
|
|
|
.Ss USB controllers
|
|
|
|
.Bl -tag -width speaker -offset indent -compact
|
2001-11-16 20:08:12 +03:00
|
|
|
.It ehci
|
|
|
|
Enhanced Host Controller (2.0)
|
1999-11-15 01:52:08 +03:00
|
|
|
.It ohci
|
2001-01-28 05:33:04 +03:00
|
|
|
Open Host Controller
|
1999-11-15 01:52:08 +03:00
|
|
|
.El
|
2004-05-03 19:13:10 +04:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Nm cbb
|
|
|
|
devices may not be properly handled by the system BIOS on i386-family
|
|
|
|
systems.
|
|
|
|
If, on an i386-family system, the
|
|
|
|
.Nm cbb
|
2004-05-12 03:16:59 +04:00
|
|
|
driver reports
|
2004-05-03 19:13:10 +04:00
|
|
|
.Dl cbb0: NOT USED because of unconfigured interrupt
|
|
|
|
then enabling
|
|
|
|
.Bl -item -offset indent -compact
|
|
|
|
.It
|
2005-07-13 18:28:12 +04:00
|
|
|
.Cd options PCI_ADDR_FIXUP
|
2004-05-03 19:13:10 +04:00
|
|
|
.It
|
2005-07-13 18:28:12 +04:00
|
|
|
.Cd options PCI_BUS_FIXUP
|
2004-05-03 19:13:10 +04:00
|
|
|
.It
|
2005-07-13 18:28:12 +04:00
|
|
|
.Cd options PCI_INTR_FIXUP
|
2004-05-03 19:13:10 +04:00
|
|
|
.El
|
|
|
|
in the kernel configuration might be of use.
|
1999-11-15 01:52:08 +03:00
|
|
|
.Sh SEE ALSO
|
2002-01-28 04:22:14 +03:00
|
|
|
.Xr adv 4 ,
|
2000-02-02 22:57:17 +03:00
|
|
|
.Xr ahc 4 ,
|
2000-05-02 15:54:15 +04:00
|
|
|
.Xr com 4 ,
|
2001-11-16 20:08:12 +03:00
|
|
|
.Xr ehci 4 ,
|
1999-11-15 01:52:08 +03:00
|
|
|
.Xr ex 4 ,
|
|
|
|
.Xr fxp 4 ,
|
|
|
|
.Xr ohci 4 ,
|
2004-05-03 19:13:10 +04:00
|
|
|
.Xr options 4 ,
|
1999-11-15 01:52:08 +03:00
|
|
|
.Xr pci 4 ,
|
2000-02-02 22:57:17 +03:00
|
|
|
.Xr pcmcia 4 ,
|
2000-05-02 15:54:15 +04:00
|
|
|
.Xr rtk 4 ,
|
2000-02-02 22:57:17 +03:00
|
|
|
.Xr tlp 4
|
1999-11-15 01:52:08 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2004-05-12 03:21:51 +04:00
|
|
|
driver appeared in
|
1999-11-15 01:52:08 +03:00
|
|
|
.Nx 1.5 .
|
2005-03-21 21:05:36 +03:00
|
|
|
.Sh BUGS
|
|
|
|
.Ss Memory space conflicts
|
|
|
|
.Nx
|
|
|
|
maps memory on Cardbus and PCMCIA cards in order to access the cards
|
|
|
|
(including reading CIS tuples on PCMCIA cards)
|
|
|
|
and access the devices using the
|
|
|
|
.Tn RBUS
|
|
|
|
abstraction.
|
|
|
|
When the mapping does not work, PCMCIA cards are typically ignored on
|
|
|
|
insert, and Cardbus cards are recognized but nonfunctional.
|
|
|
|
The location is machine-specific, and the default location does not
|
|
|
|
work on all hardware.
|
|
|
|
On i386, the following kernel configuration line, which maps Cardbus
|
|
|
|
space at 512M rather than 1GB, has been found to make 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:
|
|
|
|
.Pp
|
|
|
|
.Cd options RBUS_MIN_START="0x20000000"
|