From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 3 18:42:30 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 CA9761065670 for ; Thu, 3 Nov 2011 18:42:30 +0000 (UTC) (envelope-from adarsh.joshi@qlogic.com) Received: from VA3EHSOBE001.bigfish.com (va3ehsobe001.messaging.microsoft.com [216.32.180.11]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7688FC1C for ; Thu, 3 Nov 2011 18:42:30 +0000 (UTC) Received: from mail117-va3-R.bigfish.com (10.7.14.235) by VA3EHSOBE001.bigfish.com (10.7.40.21) with Microsoft SMTP Server id 14.1.225.22; Thu, 3 Nov 2011 18:42:12 +0000 Received: from mail117-va3 (localhost [127.0.0.1]) by mail117-va3-R.bigfish.com (Postfix) with ESMTP id 19DAC6A00FA; Thu, 3 Nov 2011 18:42:17 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzzz2ei2a8h668h839h944h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:198.70.193.64; KIP:(null); UIP:(null); IPV:NLI; H:avexcashub1.qlogic.com; RD:avexcashub2.qlogic.com; EFVD:NLI Received-SPF: neutral (mail117-va3: 198.70.193.64 is neither permitted nor denied by domain of qlogic.com) client-ip=198.70.193.64; envelope-from=adarsh.joshi@qlogic.com; helo=avexcashub1.qlogic.com ; 1.qlogic.com ; Received: from mail117-va3 (localhost.localdomain [127.0.0.1]) by mail117-va3 (MessageSwitch) id 1320345736884703_26628; Thu, 3 Nov 2011 18:42:16 +0000 (UTC) Received: from VA3EHSMHS022.bigfish.com (unknown [10.7.14.239]) by mail117-va3.bigfish.com (Postfix) with ESMTP id C6AFC600042; Thu, 3 Nov 2011 18:42:16 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.64) by VA3EHSMHS022.bigfish.com (10.7.99.32) with Microsoft SMTP Server (TLS) id 14.1.225.22; Thu, 3 Nov 2011 18:42:11 +0000 Received: from avexmb1.qlogic.org ([fe80::9545:3a4f:c131:467d]) by avexcashub2.qlogic.org ([::1]) with mapi; Thu, 3 Nov 2011 11:42:20 -0700 From: Adarsh Joshi To: John-Mark Gurney Date: Thu, 3 Nov 2011 11:42:18 -0700 Thread-Topic: Is it possible to change the log level of a device driver at runtime? Thread-Index: AcyaV4a1ySouWMTVQJ2kGxcV9xu0MwAADKBQ Message-ID: <5E4F49720D0BAD499EE1F01232234BA873C6F1A540@AVEXMB1.qlogic.org> References: <5E4F49720D0BAD499EE1F01232234BA873C6F1A523@AVEXMB1.qlogic.org> <20111103183637.GD25601@funkthat.com> In-Reply-To: <20111103183637.GD25601@funkthat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Cc: "freebsd-drivers@freebsd.org" Subject: RE: Is it possible to change the log level of a device driver at runtime? 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, 03 Nov 2011 18:42:30 -0000 John, The driver is not yet in the tree. I am trying to implement the change of debug level at run time. Can you kin= dly explain how do I do it? ( by setting the sysctl as you mentioned) Thanks 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.