80 | Installing the Board and Driver in a Sun PCI Workstation
4.
Delete the pound sign (
#
) at the beginning of each line to
uncomment the lines.
5.
Edit the lines to match each device you installed, and
save your changes.
Modifying the OWconfig file
This section explains the first example from the sample code on
page 79, line by line. It also tells how to modify those lines to
match the devices you are installing.
class="XSCREENCONFIG" name="DOMEmd2pci0Config"
In this line of code, the
name
provided must be unique. You can
alter it, as long as other
XSCREENCONFIG
sections do not have
the same
name
.
device="/dev/md2pci0.0"
This line indicates that the board is an Md2/PCI board that
was assigned the instance of zero (0) by the system. The second
zero (0) indicates that you are using the first head of the board.
To modify this line for the device you are installing, replace the
first zero (0) with the instance your board was assigned by the
system. If you are using the second head, replace the second
zero (0) with one (1).
When you install a new driver, it overwrites the
OWconfig
file in the
/usr/openwin/server/etc
directory. By copying
this section of the file to the
/etc/openwin/server/etc
directory, you ensure that the changes you make will not
be overwritten when you update to newer versions of the
DOME driver. Make sure you edit these lines in the
/etc
directory only. If you uncomment these lines in
both directories, your system will ignore them.