This driver is modified by Realtek Semiconductor corp. and it has been tested OK on FreeBSD 4.7, FreeBSD v5.1, FreeBSD v5.4, FreeBSD v6.0, and FreeBSD v7.2. To update the driver, you may use method 1. If method 1 failed, you must use method 2 which is more complex.
Method 1: 1.Copy if_rl.ko in "modules" directory to "/modules" directory and overwrite the existing file. 2.Modify the file "/boot/defaults/loader.conf" and set "if_rl_load" in "Network drivers" section to "Yes" 3.Reboot.
Method 2: Because the FreeBSD kernel has default drivers to support RTL8139C and RTL8169S. To use the RTL8139C+, RTL8169SB, RTL8169SC, RTL8168B, and RTL8101E, you need to update your NIC driver by recompiling your FreeBSD kernel.
The main steps you have to do:(FreeBSDSrcDir means the directory of FreeBSD source code and it may be "/usr/src/sys")
1. keep the orginal driver source code: # cd /usr/src/sys/pci # cp if_rl.c if_rl.c.org # cp if_rlreg.h if_rlreg.h.org
# cd /usr/src/sys/modules # cp Makefile Makefile.org
# cd /usr/src/sys/modules/rl # cp Makefile Makefile.org
# cd /usr/src/sys/i386/conf/ # cp GENERIC GENERIC.org
2. recompile your kernel (you must install your FreeBSD source code first !!) # vim /usr/src/sys/i386/conf/GENERIC and delete rl and re # vim /usr/src/sys/modules/Makefile and delete rl and re # cd /usr/src/sys/i386/conf # /usr/sbin/config GENERIC
(for FreeBSD 5.x/6.x/7.x) # cd ../compile/GENERIC (for FreeBSD 4.x) # cd ../../compile/GENERIC
# make depend # make # make install # reboot
3. update the driver source code: Copy the dirver source code( if_rl.c and if_rlreg.h) into /usr/src/sys/pci Copy the Makefile into /usr/src/sys/modules/rl