2-10
Universal Command Converter
Motorola
Host Computer Interface Card
At the EISA prompt, type “add !MOT0010.CFG <slot num>”, where <slot num> is
the slot number in which the card is installed.
If you have installed multiple host interface cards, repeat the “add” command once
for each configuration file and slot. For example, if you created a file
MOT0011.CFG for a card in slot 2, and modified the PORT and ID entries in
MOT0011.CFG to reflect the I/O address of the card in slot 2, you would type add
!MOT0011.CFG 2" to add that card to the EISA configuration information.
On machines with one EISA expansion slot, the slot number is 1.
Press “q” to quit the EISA configuration program, and “s” to save.
5. You must now edit the /etc/master file to include the ADS device driver. Make a
backup copy of “/etc/master”. You will need to change one line and add three new
lines in this file. The entries will be in the “Third Party and User Drivers,” the alias
table, the driver/library table, and the library table.
Change the first available line of the “Third Party and User Drivers” section to look
like the following line. An available line is one which has dashes in the first four
entries. Note that the last two entries are already set and are not to be changed. The
last entry is the major number for the device. You may use a line with 38, 39, 40,
42, or 43 for the major number. Make note of the number you choose, as it is used
in the next step.
Name Handle Type Mask Block Char (Do not add this line.)
mdsp mdsp 1
1FA
-1 <major>
Find the alias table and add the following line:
mdsp mdsp
Find the driver/library table and add the following line:
mdsp libmdsp.a
Find the library table and add the following line:
libmdsp.a0
6. Make a device file for the driver by executing the following command:
hostname# mknod /dev/mdsp0 c <major> <minor>
The major and minor numbers of the device are given by <major> and <minor>,
respectively. N is a user chosen device group number. The ADS user interface
software always defaults to device group 0 or mdsp0.
Note:
The <major> must be the same major number you used in the previous step.
The minor number is 0x4S0000, where ‘S’ should be replaced by the card slot
number in which the card was placed (1 – n). For machines with a single slot,