Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2011 14:19:19 -0700
From:      Adarsh Joshi <adarsh.joshi@qlogic.com>
To:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   How to add driver source to BSD source?
Message-ID:  <5E4F49720D0BAD499EE1F01232234BA873C6D8D33A@AVEXMB1.qlogic.org>

next in thread | raw e-mail | index | archive | help
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 int=
ention 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 missin=
g 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 Cor=
poration 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 n=
otify the sender immediately by reply e-mail and then delete this message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E4F49720D0BAD499EE1F01232234BA873C6D8D33A>