PCMCIA/CardBus (PC Card) server
You must be root to start this driver. |
devp-pccard [Card Services options] [ss Socket Services options]...
Neutrino
Card Services Options:
Socket Services Options:
Mode | Sets |
---|---|
0 | Parallel PCI interrupts only |
1 | Parallel IRQ and parallel PCI interrupts |
2 | IRQ serialized interrupts and parallel PCI interrupts |
3 | IRQ and PCI serialized interrupts |
The devp-pccard server provides support under QNX Neutrino for PCMCIA and CardBus host adapter chips. The host adapters chips 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 cards as they're inserted. CardBus resources are managed by the pci-bios server, which interfaces to the pccard server. The devp-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 installed, 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.
CardBus resources are assigned by the pci-bios server, as all CardBus devices are considered to be PCI devices. Some manufacturers' PCI BIOSes allow separate IRQs to be assigned to each socket on a CardBus adapter, while others allow only a single IRQ for both sockets. When a CardBus PC Card is inserted in a socket, devp-pccard requests the pci-bios server to rescan its bus and allocate resources to the card.
Start devp-pccard and force the ioports to be used in each socket:
devp-pccard -a 0x300,0x340
Map IRQ interrupts to PCI and use IRQ 10:
devp-pccard -l10 ss -m
Connecting Hardware in the Neutrino User's Guide