How to add driver source to BSD source?

Adarsh Joshi adarsh.joshi at qlogic.com
Thu Oct 27 21:35:31 UTC 2011


Hi all,

I am new to BSD, so kindly bare me if I am being stupid.

I am trying to add my driver source code to the FreeBSD source with the intention of building kernel.debug for KGDB.

I have included the driver source and the Makefile in /usr/src/sys/dev and module directories and I have modified the /usr/src/sys/amd64/conf/MYKERNEL (MYKERNEL copied from GENERIC) to include the appropriate device name.

But when I try to do

Config -g MYKERNEL

It gives an error saying my device is unknown. I am pretty sure I am missing something but I am not sure what exactly is it. Any suggestions?

Thank you
regards
Adarsh


________________________________
This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.


More information about the freebsd-drivers mailing list