2

I have made some little change to if_igb in /usr/src/sys/dev/e1000/if_igb.c. How can I compile only this file and load it to kernel dynamically? I'm using FreeBSD 8.2 Release.

1

To build just the igb module you can build it from /usr/src/sys/modules/igb. Note: igb is part of the GENERIC kernel. To use the module remove igb from the kernel config and rebuild your kernel

  • Thanks, I tried to add my custom driver to kernel and build it but it says that "config: Error: device "gbeth" is unknown". How can I add my custom driver to kernel? – Jack Mc Lauren Oct 29 '13 at 9:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.