Autodetect PCMCIA adapter and optionally start correct driver (QNX)
Print command line that would be required to start the appropriate driver:
pcmciatrap [options] [query]
Start driver:
pcmciatrap [options] start
The pcmciatrap utility will look for multiple PCMCIA adapters installed on the machine, including the ones on the PCI bus. If start is not specified, the command line that would be required to start the appropriate driver will be written to the standard output. If start is specified, the appropriate PCMCIA driver (Pcmcia.*) will be automatically started. This is ideal for use in sysinit files.
The pcmciatrap utility determines the chip type by probing I/O ports that are likely to be associated with a PCMCIA adapter. If you have other adapters at these addresses the utility may confuse the hardware and/or any associated drivers. Some NE2000 Ethernet adapters can crash the machine if they are accessed improperly. |
The PCMCIA adapter hardware that pcmciatrap scans for includes the following:
Hardware | I/O Ports |
---|---|
Intel 386sl | 0x3e0, 0x3e2 |
Cirrus 67xx | 0x3e0, 0x3e2 |
Additional chips may have been added since this document was published. See the usage message for pcmciatrap for a list of currently supported PCMCIA chips. (use pcmciatrap)
The pcmciatrap utility may be run only by root. |
The standard input is unused.
The query information and -v output is written to the standard output.