From owner-freebsd-drivers@FreeBSD.ORG Thu Oct 27 21:35:31 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16AEB106564A for ; Thu, 27 Oct 2011 21:35:31 +0000 (UTC) (envelope-from adarsh.joshi@qlogic.com) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9C948FC14 for ; Thu, 27 Oct 2011 21:35:30 +0000 (UTC) Received: from mail94-ch1-R.bigfish.com (10.43.68.244) by CH1EHSOBE011.bigfish.com (10.43.70.61) with Microsoft SMTP Server id 14.1.225.22; Thu, 27 Oct 2011 21:20:16 +0000 Received: from mail94-ch1 (localhost.localdomain [127.0.0.1]) by mail94-ch1-R.bigfish.com (Postfix) with ESMTP id 3AF3F3C8475 for ; Thu, 27 Oct 2011 21:20:20 +0000 (UTC) X-SpamScore: -7 X-BigFish: VPS-7(zzc85fh14ffOzz1202hzz8275bh8275dhz2fh2a8h668h839h) X-Forefront-Antispam-Report: CIP:198.70.193.61; KIP:(null); UIP:(null); IPVD:NLI; H:avexcashub1.qlogic.com; RD:avexcashub1.qlogic.com; EFVD:NLI X-FB-SS: 0,0, Received-SPF: pass (mail94-ch1: domain of qlogic.com designates 198.70.193.61 as permitted sender) client-ip=198.70.193.61; envelope-from=adarsh.joshi@qlogic.com; helo=avexcashub1.qlogic.com ; 1.qlogic.com ; Received: from mail94-ch1 (localhost.localdomain [127.0.0.1]) by mail94-ch1 (MessageSwitch) id 1319750359140113_1243; Thu, 27 Oct 2011 21:19:19 +0000 (UTC) Received: from CH1EHSMHS023.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.241]) by mail94-ch1.bigfish.com (Postfix) with ESMTP id 1B6CF1158050 for ; Thu, 27 Oct 2011 21:19:19 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.61) by CH1EHSMHS023.bigfish.com (10.43.70.23) with Microsoft SMTP Server (TLS) id 14.1.225.22; Thu, 27 Oct 2011 21:19:10 +0000 Received: from avexmb1.qlogic.org ([fe80::9545:3a4f:c131:467d]) by avexcashub1.qlogic.org ([::1]) with mapi; Thu, 27 Oct 2011 14:19:16 -0700 From: Adarsh Joshi To: "freebsd-drivers@freebsd.org" Date: Thu, 27 Oct 2011 14:19:19 -0700 Thread-Topic: How to add driver source to BSD source? Thread-Index: AcyU7TQZ14LA/iUESaSdo6z38Y/Aow== Message-ID: <5E4F49720D0BAD499EE1F01232234BA873C6D8D33A@AVEXMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to add driver source to BSD source? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 21:35:31 -0000 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.