Date: Tue, 19 Sep 2006 15:46:09 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-drivers@FreeBSD.ORG, gireesh.nagabhushana@neterion.com Subject: Re: Reading configuration file from driver during load Message-ID: <200609191346.k8JDk9b3076219@lurza.secnetix.de> In-Reply-To: <6387977.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gireesh wrote: > I have a driver which has some parameters hardcoded as of now. It requires > values of these parameters to be available during load (during attach > function). My requirement is to read these parameters from a configuration > file so that we can load driver with different values to parameters without > rebuilding driver. I think that sysctl or kenv variables are best suited for that purpose. There are a lot of examples for that in existing drivers. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. We're sysadmins. To us, data is a protocol-overhead.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609191346.k8JDk9b3076219>