First off, I'm using FreeBSD 9.0 here - it pre-dates 8168F support, although the card seemed to work fine on the standard driver in all respects except WOL. I'm aware, however, that support for this chip only appeared in 9.1 and 8.3.
What I've done is get hold of the latest if_re.c (Rev 1.229, Dec 4 2012) and the pci.h and other headers with the symbolic constants it uses for defining the registers etc, and compiled a new if_re.ko using the Makefile in src/sys/modules. I've then copied this in to /boot/kernel. All seems fine (nothing broke), except WOL still doesn't work.
I made up the procedure above, because I couldn't find any documentation on how to do this. Is copying the .ko file enough, or am I being wildly optimistic and the real driver is compiled in to the kernel or something (in which case why put a .ko in there to fool me?)
Before anyone asks, I know I'm doing WOL properly because if I put a NIC with an 8158B in exactly the same slot it works just fine.
A link to the appropriate FM for me to read would be useful, if nothing else. Thanks!
What I've done is get hold of the latest if_re.c (Rev 1.229, Dec 4 2012) and the pci.h and other headers with the symbolic constants it uses for defining the registers etc, and compiled a new if_re.ko using the Makefile in src/sys/modules. I've then copied this in to /boot/kernel. All seems fine (nothing broke), except WOL still doesn't work.
I made up the procedure above, because I couldn't find any documentation on how to do this. Is copying the .ko file enough, or am I being wildly optimistic and the real driver is compiled in to the kernel or something (in which case why put a .ko in there to fool me?)
Before anyone asks, I know I'm doing WOL properly because if I put a NIC with an 8158B in exactly the same slot it works just fine.
A link to the appropriate FM for me to read would be useful, if nothing else. Thanks!