From owner-freebsd-drivers@FreeBSD.ORG Tue Sep 19 17:09:22 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 484F416A40F for ; Tue, 19 Sep 2006 17:09:22 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDEE943D5E for ; Tue, 19 Sep 2006 17:09:16 +0000 (GMT) (envelope-from bounces@nabble.com) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GPj5w-0007y5-7F for freebsd-drivers@freebsd.org; Tue, 19 Sep 2006 10:09:16 -0700 Message-ID: <6392703.post@talk.nabble.com> Date: Tue, 19 Sep 2006 10:09:16 -0700 (PDT) From: Gireesh To: freebsd-drivers@freebsd.org In-Reply-To: <20060919.084757.78728269.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gireesh.nagabhushana@neterion.com References: <6387977.post@talk.nabble.com> <200609191346.k8JDk9b3076219@lurza.secnetix.de> <6389336.post@talk.nabble.com> <20060919.084757.78728269.imp@bsdimp.com> Subject: Re: Reading configuration file from driver during load 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: Tue, 19 Sep 2006 17:09:22 -0000 M. Warner Losh wrote: > >> Do we have any way of avoiding this? > > Yes. You can use tunables from kenv. I posted one example of how to > do this. Please let me know if you need to do this on a per-device > basis, and I'll point you at a driver that does this. > > Warner > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > > Thanks Warner for the example code. That suffices my requirement. Even though, it is not required at this time, I like to know how to do that on a per-device basis. Thanks, Gireesh -- View this message in context: http://www.nabble.com/Reading-configuration-file-from-driver-during-load-tf2298986.html#a6392703 Sent from the freebsd-drivers mailing list archive at Nabble.com.