Chapter 2
Installation and Configuration
© National Instruments Corp.
2-3
1014/NI-488M/Motorola UNIX
You can add
cib.o
to an existing library or include
cib.o
during the link
phase of each compile operation.
Install the NI-488M Driver
To build a new Motorola UNIX kernel with the NI-488M driver installed,
complete the following steps.
1. Change the Software Settings
a. Edit the file
gpib1014
to match the hardware settings. Refer to the
user manual that came with your board for the correct hardware
settings. In the default configuration, the file
gpib1014
is set up
for four boards - two DMA boards and two PIO boards. The default
values in the file
gpib1014
are as follows:
•
The default base addresses are:
gpib0 - 0x3000
gpib1 - 0x3200
gpib2 - 0x4000
gpib3 - 0x4200
•
The default interrupt levels are:
gpib0, gpib1 - 4
gpib2, gpib3 - 2
•
The default interrupt vectors are:
gpib0 - 0xD4
gpib1 - 0xD5
gpib2 - 0xD7
gpib3 - 0xD8
•
The default major device number is 20. The major device number
you choose should be unique.
b. After making changes to the file
gpib1014
, copy it to
/usr/src/uts/m68k/sysgen/descriptions/gpib1014
.
The
sysgen
utility uses the
gpib1014
file in this directory when
it generates the new kernel.