Chapter 3: Installation 7. If you want the driver to load automatically when the system is booted: cd igb-x.x.x/src make load cp if_igb.ko /modules Edit /boot/loader.conf, and add the following line: if_igb_load="YES" or compile the driver into the kernel (see item 8). Edit /etc/rc.conf, and create the appropriate ifconfig_igb entry: ifconfig_igb =" " Example usage: ifconfig_igb0="inet 192.168.10.1 netmask 255.255.255.0" 8. If you want to compile the driver into the kernel, enter:
cd igb-x.x.x/src mkdir /usr/src/sys/dev/igb cp if_igb* /usr/src/sys/dev/igb cp igb* /usr/src/sys/dev/igb cp Makefile.kernel /usr/src/sys/modules/igb/Makefile Edit the /usr/src/sys/conf/files.i386 file, and add the following line: dev/igb/igb_hw.c optional igb dev/igb/igb_ee.c optional igb dev/igb/if_igb.c optional igb Remove the following lines from the /usr/src/sys/conf/files.i386 file, if they exist: /dev/igb/if_igb_fx_hw.c optional igb /dev/igb/if_igb_phy.c optional igb 31