PCMCIA/CardBus (PC Card) server
You must be root to start this driver. |
pccard [options]...
The pccard server provides support under QNX 4 for PCMCIA and CardBus host adapter chips. The host adapters currently supported are (PCMCIA) Intel 82365, Cirrus CL-PD67xx, Vadem VG-46x, (CardBus) TI-11xx, TI-12xx, and TI-14xx, Ricoh R5C47x, O2 Micro OZ68xx, and Toshiba Topic97. Other CardBus adapters work only in legacy (PCMCIA) mode.
The server manages host resources (memory windows, I/O ports and IRQs) and assigns resources to PCMCIA as well as CardBus cards as they are inserted. The pccard server also supports dual-function PC Cards and assigns separate resources to each function. The only common resource assigned to dual-function PC Cards is the IRQ.
Utilities are provided to start and stop processes (as cards are inserted and removed), display server status, and display card CIS (Card Information Structure) data.
The executables involved in PC Card support are:
The server manages separate resource pools for memory windows, IRQs, and ports. When a card is inserted, the server attempts to satisfy the card's memory window, IRQ, and port requirements by allocating resources from the various pools. PCMCIA resources must be in the ISA range of devices, while CardBus resources must be in the PCI range. PC Card resource pools are created as described below.
Upon startup the pccard server will attempt to read the /etc/config/pcmcia.node file, where node is replaced by the node number of the machine the server is running on. If this file does not exist, the resources will be read from the /etc/config.pcmcia.cfg file. This file is identical to the one used by Pcmcia.generic, so it is suggested that you keep your original file.
CardBus resources are assigned by the pccard server. When the server starts, it scans the PCI bus and excludes all resources that have already been assigned to devices on the PCI bus by the BIOS. When a CardBus card is inserted in a socket, pccard will determine the memory and I/O port requirements of the card and assign the required resources to the card. The IRQ will be the same as that assigned to the CardBus adapter by the BIOS.