2001-04-12 01:32:34 +04:00
|
|
|
.\" $NetBSD: pcmcia.4,v 1.20 2001/04/11 21:32:34 aymeric Exp $
|
1999-04-14 00:25:28 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
1997-11-11 20:21:42 +03:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
1999-04-14 00:25:28 +04:00
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Lennart Augustsson.
|
|
|
|
.\"
|
1997-11-11 20:21:42 +03:00
|
|
|
.\" 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
|
1999-04-14 00:25:28 +04:00
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
1997-11-11 20:21:42 +03:00
|
|
|
.\" 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.
|
|
|
|
.\"
|
2000-08-30 23:05:47 +04:00
|
|
|
.Dd August 29, 2000
|
1997-11-11 20:21:42 +03:00
|
|
|
.Dt PCMCIA 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1997-11-11 20:21:42 +03:00
|
|
|
.Sh NAME
|
2000-02-12 14:14:13 +03:00
|
|
|
.Nm pcmcia
|
|
|
|
.Nd
|
|
|
|
introduction to
|
|
|
|
.Tn PCMCIA
|
|
|
|
.Pq Tn "PC Card"
|
|
|
|
support
|
1997-11-11 20:21:42 +03:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "pcmcia* at pcic? controller ? socket ?"
|
2000-02-12 14:14:13 +03:00
|
|
|
.Cd "pcmcia* at tcic? controller ? socket ?"
|
1999-11-15 02:14:45 +03:00
|
|
|
.Cd "pcmcia* at cardslot?"
|
2001-04-12 01:32:34 +04:00
|
|
|
.Ss amiga
|
|
|
|
.Cd "pcmcia* at pccard0"
|
2000-02-12 14:14:13 +03:00
|
|
|
.Ss hpcmips
|
|
|
|
.Cd "pcmcia* at it8368e? controller ? socket ?"
|
|
|
|
.Cd "pcmcia* at plumpcmcia? controller ? socket ?"
|
|
|
|
.Ss sh3
|
|
|
|
.Cd "pcmcia* at shpcic? controller ? socket ?"
|
|
|
|
.Sh DESCRIPTION
|
1998-02-06 08:54:12 +03:00
|
|
|
.Nx
|
2000-02-12 14:14:13 +03:00
|
|
|
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
|
1997-11-11 20:21:42 +03:00
|
|
|
devices.
|
|
|
|
.Sh SUPPORTED DEVICES
|
|
|
|
.Nx
|
2000-02-12 14:14:13 +03:00
|
|
|
includes the following machine-independent
|
|
|
|
.Tn PCMCIA
|
1997-11-11 20:21:42 +03:00
|
|
|
drivers, sorted by function and driver name:
|
|
|
|
.Pp
|
|
|
|
.Ss Serial interfaces and modems
|
2000-07-24 15:58:31 +04:00
|
|
|
.Bl -tag -width speaker -offset indent
|
1997-11-11 20:21:42 +03:00
|
|
|
.It com
|
|
|
|
8250/16450/16550-compatible PCMCIA serial cards and modems.
|
|
|
|
.El
|
|
|
|
.\"
|
|
|
|
.Pp
|
|
|
|
.Ss Network interfaces
|
2000-07-24 15:58:31 +04:00
|
|
|
.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.
|
1999-11-04 22:32:08 +03:00
|
|
|
.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.
|
1997-11-11 20:21:42 +03:00
|
|
|
.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.
|
1999-11-15 01:40:13 +03:00
|
|
|
.It mhzc
|
|
|
|
Megahertz Ethernet/Modem combo cards
|
1997-11-11 20:21:42 +03:00
|
|
|
.It ne
|
|
|
|
NE2000 compatible cards.
|
2000-01-24 18:26:10 +03:00
|
|
|
.It ray
|
|
|
|
Raytheon Raylink and WebGear Aviator2.4 802.11 controller.
|
1997-11-11 20:21:42 +03:00
|
|
|
.It sm
|
|
|
|
Megahertz Ethernet card.
|
1999-11-04 22:32:08 +03:00
|
|
|
.It wi
|
2000-12-19 18:33:52 +03:00
|
|
|
Lucent WaveLan/IEEE and PRISM-II based 802.11 controller.
|
1997-11-11 20:21:42 +03:00
|
|
|
.El
|
|
|
|
.\"
|
|
|
|
.Pp
|
|
|
|
.Ss SCSI controllers
|
2000-07-24 15:58:31 +04:00
|
|
|
.Bl -tag -width speaker -offset indent
|
1997-11-11 20:21:42 +03:00
|
|
|
.It aic
|
2000-07-24 15:58:31 +04:00
|
|
|
Adaptec APA-1460
|
|
|
|
.Tn SCSI
|
|
|
|
controller card.
|
2000-03-20 21:28:28 +03:00
|
|
|
.It esp
|
2000-07-24 15:58:31 +04:00
|
|
|
NCR 53C9x, Emulex ESP406, and Qlogic FAS408
|
|
|
|
.Tn SCSI
|
|
|
|
controllers.
|
1997-11-11 20:21:42 +03:00
|
|
|
.El
|
1998-05-23 20:14:46 +04:00
|
|
|
.Ss IDE controllers
|
2000-07-24 15:58:31 +04:00
|
|
|
.Bl -tag -width speaker -offset indent
|
1998-05-23 20:14:46 +04:00
|
|
|
.It wdc
|
|
|
|
Digital Hinote Ultra Mobile Media Adapter
|
|
|
|
.El
|
1997-11-11 20:21:42 +03:00
|
|
|
.\"
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr intro 4 ,
|
2000-04-13 23:40:02 +04:00
|
|
|
.Xr options 4 ,
|
1997-11-11 20:21:42 +03:00
|
|
|
.Xr aic 4 ,
|
2000-12-19 18:33:52 +03:00
|
|
|
.Xr an 4 ,
|
1999-11-04 22:32:08 +03:00
|
|
|
.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 ,
|
1997-11-11 20:21:42 +03:00
|
|
|
.Xr com 4 ,
|
|
|
|
.Xr ep 4 ,
|
2000-03-20 21:28:28 +03:00
|
|
|
.Xr esp 4 ,
|
1997-11-11 20:21:42 +03:00
|
|
|
.Xr isa 4 ,
|
1999-11-15 02:19:10 +03:00
|
|
|
.Xr mbe 4 ,
|
1999-11-15 01:40:13 +03:00
|
|
|
.Xr mhzc 4 ,
|
1997-11-11 20:21:42 +03:00
|
|
|
.Xr ne 4 ,
|
2000-02-12 14:14:13 +03:00
|
|
|
.Xr pcic 4 ,
|
|
|
|
.Xr pcmcom 4 ,
|
2000-01-24 18:26:10 +03:00
|
|
|
.Xr ray 4 ,
|
1999-11-04 22:32:08 +03:00
|
|
|
.Xr sm 4 ,
|
2000-02-12 14:14:13 +03:00
|
|
|
.Xr tcic 4 ,
|
1999-11-04 22:32:08 +03:00
|
|
|
.Xr wi 4
|
2000-02-12 14:14:13 +03:00
|
|
|
.Pp
|
|
|
|
.Pa http://www.pcmcia.org/
|
1997-11-11 20:21:42 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2000-02-12 14:14:13 +03:00
|
|
|
driver appeared in
|
1997-11-11 20:21:42 +03:00
|
|
|
.Nx 1.3 .
|
2000-04-13 23:40:02 +04:00
|
|
|
.Sh BUGS
|
|
|
|
.Ss IO space conflicts
|
|
|
|
.Nx
|
2000-08-30 23:05:47 +04:00
|
|
|
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
|
2000-05-09 21:59:39 +04:00
|
|
|
used. For 12-bit wide cards, 0x400-0x4ff is used.
|
2000-04-13 23:40:02 +04:00
|
|
|
.Pp
|
2000-05-09 21:59:39 +04:00
|
|
|
Neither choice is perfect. In the 12-bit case, 0x400 appears to work
|
2000-08-30 23:05:47 +04:00
|
|
|
on substantially more devices than 0x300. In the event that
|
|
|
|
.Tn PCMCIA
|
2000-05-09 21:59:39 +04:00
|
|
|
devices are mapped in 0x400-0xfff and appear to be nonfunctional,
|
|
|
|
remapping to 0x300-0x3ff may be appropriate; consult
|
2000-04-13 23:40:02 +04:00
|
|
|
.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
|
2000-05-09 21:59:39 +04:00
|
|
|
# allocation on 12-bit wide busses (base 0x400 size 0xfff).
|
|
|
|
options PCIC_ISA_ALLOC_IOBASE=0x300
|
|
|
|
options PCIC_ISA_ALLOC_IOSIZE=0x0ff
|
2000-04-13 23:40:02 +04:00
|
|
|
.Ed
|
2000-08-30 23:05:47 +04:00
|
|
|
.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 .
|