Xircom Pocket Arcnet Adapter II network driver (QNX)
Net.arcxir -n phys_nid [-i irq] [-l log_net_id] [-p io_port] [-r media_rate] [-s] [-v] &
If your parallel port is on a TTL monochrome video card, the address may be 3BC.
The Net.arcxir network driver communicates directly with a Xircom Pocket Arcnet Adapter II, which plugs into a parallel port of your computer. The driver provides the Network Manager (Net) with reliable data transfer over an Arcnet network.
You must specify a physical node ID with the -n option since Net.arcxir doesn't use the parameters programmed by Xircom's DOS software.
By default, Net.arcxir assumes that the Xircom adapter is connected to the first parallel port and that interrupts aren't used. The driver conservatively polls the parallel port, which always works.
If your parallel port hardware supports interrupts (and most do, but may not have the jumpers configured to enable them), you can increase performance by specifying the -i option.
Usually the first parallel port drives IRQ 7 and the second parallel port drives IRQ 5, but check your computer's documentation and parallel port hardware's jumper configuration to be certain.
To install: | You should: |
---|---|
multiple network cards in one machine | specify a unique logical network ID with the -l option to every network driver |
multiple Xircom cards in one machine | specify a unique I/O address with the -p option to every invocation of Net.arcxir |
Use the first (and probably the only) parallel port; don't use interrupts, and program the adapter to be physical node 1:
Net.arcxir -n 1 &
Use the first parallel port and IRQ 7 (for better performance), programming the adapter to be physical node 12:
Net.arcxir -n 12 -i 7 &
Use the second parallel port and polling instead of interrupts; program the adapter to be physical node 3:
Net.arcxir -n 3 -p 278 &
Use the second parallel port and IRQ 5; program the adapter to be physical node 2:
Net.arcxir -n 2 -p 278 -i 5 &
Net.arcxir closes its standard input, standard output and standard error immediately after initialization.
Error messages are displayed via the qnx_display_*() functions, not through standard error.
The Net.arcxir driver ignores SIGPWR unless the -s option is specified.
Net.arcxir terminates only upon encountering errors during initialization or upon getting a signal (i.e. being killed).