From owner-freebsd-hackers Fri Mar 17 19:53: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.nj.home.com (ha1.rdc1.nj.home.com [24.3.128.66]) by hub.freebsd.org (Postfix) with ESMTP id 4FC1237B605 for ; Fri, 17 Mar 2000 19:52:59 -0800 (PST) (envelope-from garycor@home.com) Received: from home.com ([24.3.185.85]) by mail.rdc1.nj.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000318035254.YHSD11747.mail.rdc1.nj.home.com@home.com> for ; Fri, 17 Mar 2000 19:52:54 -0800 Message-ID: <38D2FF48.CE3E396B@home.com> Date: Fri, 17 Mar 2000 23:00:08 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.6 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: How to read a file from a device driver? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can someone please tell me how I can read a file from a device driver in FreeBSD? I need to download 2 or 3 relatively-large code files to my device, choosing from amongst several different files depending on which mode I'm operating in. Therefore compiling-in the code is not a reasonable choice. If you can either tell me how to be able to read a file from my driver, or point me to an example driver which does this, I would appreciate it. I'm running FreeBSD 3.4. (not subscribed to this list, please always CC: me on replies) Thanks, Gary Corcoran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message