NetBSD/share/man/man4/pcmcia.4

213 lines
6.1 KiB
Groff
Raw Normal View History

.\" $NetBSD: pcmcia.4,v 1.21 2001/07/03 20:26:23 gmcgarry Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" 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.
.\"
.Dd August 29, 2000
.Dt PCMCIA 4
.Os
.Sh NAME
.Nm pcmcia
.Nd
introduction to
.Tn PCMCIA
.Pq Tn "PC Card"
support
.Sh SYNOPSIS
.Cd "pcmcia* at pcic? controller ? socket ?"
.Cd "pcmcia* at tcic? controller ? socket ?"
1999-11-15 02:14:45 +03:00
.Cd "pcmcia* at cardslot?"
.Ss amiga
.Cd "pcmcia* at pccard0"
.Ss hpcmips
.Cd "pcmcia* at it8368e? controller ? socket ?"
.Cd "pcmcia* at plumpcmcia? controller ? socket ?"
.Ss sh3
.Cd "pcmcia* at shpcic? controller ? socket ?"
.Sh DESCRIPTION
.Nx
provides machine-independent bus support and drivers for
.Tn PCMCIA
.Pq Personal Computer Memory Card International Association
a.k.a.
.Tn "PC Card" ,
.Tn CardBus
devices.
.Sh SUPPORTED DEVICES
.Nx
includes the following machine-independent
.Tn PCMCIA
drivers, sorted by function and driver name:
.Pp
.Ss Serial interfaces and modems
.Bl -tag -width speaker -offset indent
.It com
8250/16450/16550-compatible PCMCIA serial cards and modems.
.El
.\"
.Pp
.Ss Network interfaces
.Bl -tag -width speaker -offset indent
2000-12-19 18:33:52 +03:00
.It an
Aironet 4500/4800 and Cisco 340 series 802.11 controller.
.It awi
2000-12-19 18:33:52 +03:00
802.11 controller based on the AMD PCnetMobile chipset.
1999-12-06 17:52:08 +03:00
.It cnw
Netwave AirSurfer Wireless LAN interface.
.It ep
3com 3c589 Etherlink-III Ethernet card.
1998-06-07 13:10:30 +04:00
.It mbe
Ethernet card based on the Fujitsu MB86960A/MB86965A chipset.
.It mhzc
Megahertz Ethernet/Modem combo cards
.It ne
NE2000 compatible cards.
2000-01-24 18:26:10 +03:00
.It ray
Raytheon Raylink and WebGear Aviator2.4 802.11 controller.
.It sm
Megahertz Ethernet card.
.It wi
2000-12-19 18:33:52 +03:00
Lucent WaveLan/IEEE and PRISM-II based 802.11 controller.
.It xi
Xircom CreditCard Ethernet
.El
.\"
.Pp
.Ss SCSI controllers
.Bl -tag -width speaker -offset indent
.It aic
Adaptec APA-1460
.Tn SCSI
controller card.
2000-03-20 21:28:28 +03:00
.It esp
NCR 53C9x, Emulex ESP406, and Qlogic FAS408
.Tn SCSI
controllers.
.El
.Ss IDE controllers
.Bl -tag -width speaker -offset indent
.It wdc
Digital Hinote Ultra Mobile Media Adapter
.El
.\"
.Sh SEE ALSO
.Xr intro 4 ,
.Xr options 4 ,
.Xr aic 4 ,
2000-12-19 18:33:52 +03:00
.Xr an 4 ,
.Xr awi 4 ,
1999-11-15 02:14:45 +03:00
.Xr cardbus 4 ,
1999-12-06 17:52:08 +03:00
.Xr cnw 4 ,
.Xr com 4 ,
.Xr ep 4 ,
2000-03-20 21:28:28 +03:00
.Xr esp 4 ,
.Xr isa 4 ,
1999-11-15 02:19:10 +03:00
.Xr mbe 4 ,
.Xr mhzc 4 ,
.Xr ne 4 ,
.Xr pcic 4 ,
.Xr pcmcom 4 ,
2000-01-24 18:26:10 +03:00
.Xr ray 4 ,
.Xr sm 4 ,
.Xr tcic 4 ,
.Xr wi 4 ,
.Xr xi 4
.Pp
.Pa http://www.pcmcia.org/
.Sh HISTORY
The
.Nm
driver appeared in
.Nx 1.3 .
.Sh BUGS
.Ss IO space conflicts
.Nx
probes the
.Tn PCMCIA
IO bus width and uses that information to decide
where to map
.Tn PCMCIA
IO space. For 10-bit wide cards, 0x300-0x3ff is
used. For 12-bit wide cards, 0x400-0x4ff is used.
.Pp
Neither choice is perfect. In the 12-bit case, 0x400 appears to work
on substantially more devices than 0x300. In the event that
.Tn PCMCIA
devices are mapped in 0x400-0xfff and appear to be nonfunctional,
remapping to 0x300-0x3ff may be appropriate; consult
.Cd options PCIC_ISA_ALLOC_IOBASE
and
.Cd options PCIC_ISA_ALLOC_IOSIZE
in
.Xr options 4 .
Example:
.Bd -literal -offset indent
# Avoid pcmcia bus space conflicts with the default io space
# allocation on 12-bit wide busses (base 0x400 size 0xfff).
options PCIC_ISA_ALLOC_IOBASE=0x300
options PCIC_ISA_ALLOC_IOSIZE=0x0ff
.Ed
.Ss Interrupt conflicts
.Nx
attempts to probe for available interrupts to assign to
.Tn PCMCIA
devices. In some cases, it is not possible to detect
all interrupts in use; in such cases, use of
.Cd options PCIC_ISA_INTR_ALLOC_MASK
may be necessary. See
2000-12-19 18:33:52 +03:00
.Xr options 4 .
.Ss Unconfigured devices
During autoconfiguration, if a message is displayed saying that your card
is "not configured" it indicates that there isn't support for your card
compiled into the kernel. To fix this problem, it may simply be a matter
of adding the manufacturer and product IDs to the
.Tn PCMCIA
database or adding a front-end attachment to an existing driver. In
the latter case, it is normally always necessary to get a dump of the
CIS table from the card. You can do this by adding
.Cd options PCMCIACISDEBUG
and
.Cd options PCMCIADEBUG
into your kernel config file. Additionally, you will have to patch the
kernel to enable run-time debugging. This can be done in the source
by changing the variables
.Va pcmcia_debug
and
.Va pcmciacis_debug
to 0xff. Alternatively, you can patch the same variables at run-time
using
.Xr ddb 4 .
For most drivers you should also consider enabling any driver-specific
debugging options.