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

1 Answer 1

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

1
  • 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? Commented Oct 29, 2013 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .