From owner-freebsd-net@FreeBSD.ORG Tue Sep 19 06:20:36 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC8D716A407 for ; Tue, 19 Sep 2006 06:20:36 +0000 (UTC) (envelope-from sivakumar.subramani@wipro.com) Received: from wip-ectls-mx1.wipro.com (wip-ectls-mx1.wipro.com [203.91.193.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3DAF43D46 for ; Tue, 19 Sep 2006 06:20:35 +0000 (GMT) (envelope-from sivakumar.subramani@wipro.com) Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 65A8722044D for ; Tue, 19 Sep 2006 11:50:41 +0530 (IST) Received: from blr-ec-bh02.wipro.com (blr-ec-bh02.wipro.com [10.201.50.92]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id 5923E2203C6 for ; Tue, 19 Sep 2006 11:50:41 +0530 (IST) Received: from blr-m3-msg.wipro.com ([10.114.50.99]) by blr-ec-bh02.wipro.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 19 Sep 2006 11:50:33 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 19 Sep 2006 11:45:21 +0530 Message-ID: <956E7FA2615F3B4595FC5F22870A72210817F1@blr-m3-msg.wipro.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to access the values of the kenv variables in driver code? Thread-Index: Acbbs7er7Mg/cvjdSumLfV9s83PuTg== From: To: X-OriginalArrivalTime: 19 Sep 2006 06:20:33.0145 (UTC) FILETIME=[B6576E90:01C6DBB3] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: How to access the values of the kenv variables in driver code? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 06:20:37 -0000 Hi all, =0D I would like to have some of the configuration parameters of my driver to be present as part of the /boot/device.hints file. After adding a variable I could see that variable and it's value as part of kevn's ouput. =0D Can any one please let me know how to access the value of these variables in my drive code? =0D Thanks, ~Siva The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.=0D WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email. =0D www.wipro.com