
74
Serial Parallel Controller User’s Guide—February 1993
B
Adding the Driver to the New Configuration File
Your Serial Parallel Controller device driver, like all new device drivers,
requires an entry in the following kernel files:
•
/usr/share/sys/sun4c/conf/files
•
/sys/sun/conf.c
To change your kernel files:
1. As superuser, type
cd /usr/share/sys/sun4c/conf
and press
Return
.
2. Using a text editor, such as vi, edit the
files
file.
3. Add the line
sbusdev/stc.c optional stc device-driver
to the
files
file.
4. Save the file and quit the editor.
5. Type
chmod +w /sys/sun/conf.c
and press
Return.
6. Type
vi /sys/sun/conf.c
and press
Return
.
tutorial# vi MYKERNEL
(Add the following line to the end of the file)
device-driver stc # driver for SPC/S board
:wq
(Save the file and quit the editor)
tutorial#
tutorial# cd /usr/share/sys/sun4c/conf
tutorial# vi files
(Add the following line to the file)
sbusdev/stc.c optional stc device-driver
:wq
(Save the file and quit the editor)
tutorial#
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com