PCMCIA(4)

NAME
pcmcia - introduction to PCMCIA (PC Card) support

SYNOPSIS
pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
pcmcia* at pcic? controller ? socket ?
XX* at pcmcia? function ?

INTRODUCTION
NetBSD provides machine-independent bus support and drivers for PCMCIA (PC Card, Card Bus) devices.

SUPPORTED DEVICES
NetBSD includes the following machine-independent PCMCIA drivers, sorted by function and driver name:

  Serial interfaces and modems
com 8250/16450/16550-compatible PCMCIA serial cards and modems.

  Network interfaces
ep  3com 3c589 Etherlink-III Ethernet card.
mbe Ethernet card based on the Fujitsu MB86960A/MB86965A chipset.
ne  NE2000 compatible cards.
sm  Megahertz Ethernet card.
wi  Lucent WaveLan/IEEE 802.11 controller.

  SCSI controllers
aic Adaptec APA-1460 SCSI controller card.

  IDE controllers
wdc Digital Hinote Ultra Mobile Media Adapter

The supported PCMCIA controllers are those that are i82365 compatible.

SEE ALSO
intro(4), options(4), aic(4), com(4), ep(4), isa(4), ne(4), sm(4), wi(4)

HISTORY
The pcmcia driver appeared in NetBSD 1.3.

BUGS

  IO space conflicts
NetBSD probes the pcmcia IO bus width and uses that information to decide where to map PCMCIA IO space. For 10-bit wide cards, 0x300-0x3ff is used, and this is satisfactory. For 12-bit wide cards, however, it would nice to use 0x400-0xfff, however this causes some problems for some specific PCMCIA devices, as well as some specific laptops; consequently, 0x300-0x3ff is used.

Unfortunately, the choice of 0x300-0x3ff causes problems as well. In particular, a number of video devices are mapped in that range, and may conflict. In the event that pcmcia devices are mapped in 0x300 and appear to be nonfunctional, remapping to 0x400-0xfff may be appropriate; consult options PCIC_ISA_ALLOC_IOBASE and options PCIC_ISA_ALLOC_IOSIZE in options(4). Example:

    # Avoid pcmcia bus space conflicts with the default io space
    # allocation on 12-bit wide busses (base 0x300 size 0xff).
    options PCIC_ISA_ALLOC_IOBASE=0x400
    options PCIC_ISA_ALLOC_IOSIZE=0xbff