Then save and exit.
/usr/sbin/config MYKERNEL cd ../../compile/MYKERNEL make depend
make
make install vi /etc/rc
Add the line apm
You can now use the new kernel. Run the command halt
LAN Driver
NOTE: To compile the driver into the kernel, go directly to step 4.
1.Insert the driver CD into the CD drive.
2.Copy the base driver tar file
3.Untar/unzip the archive: tar xvfz
4.To create a loadable module, perform the following steps.
a.To compile the module cd
b.To install the compiled module in the system directory: make install
c.If you want the driver to load automatically when the system is booted:
1.Follow steps a and b above to compile and install the module
2.Edit /boot/loader.conf and add the following line:
if_em_load=”YES”
5.To compile the driver into the kernel: cd
cp if_em* /usr/src/sys/dev/em
cp Makefile.kernel /usr/src/sys/modules/em/Makefile
Edit the /usr/src/sys/conf/files.i386 file and add the following lines: dev/em/if_em.c optional em
37
http://www.TYAN.com