Change a driver's source code and compile

I have actually made some little adjustment to if_igb in /usr/src/sys/dev/e1000/if_igb.c. Just how can I compile just this documents and also load it to kernel dynamically? I'm making use of FreeBSD 8.2 Release.

2
2022-07-25 20:40:09
Source Share
Answers: 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
2022-07-25 21:18:18
Source