Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 23:59:28 -0500 (EST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        "Gary T. Corcoran" <garycor@home.com>
Cc:        Alfred Perlstein <bright@wintelcom.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: How to read a file from a device driver?
Message-ID:  <Pine.BSF.4.21.0003172358410.50194-100000@sasami.jurai.net>
In-Reply-To: <38D3085D.37F31443@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Mar 2000, Gary T. Corcoran wrote:
> I'm trying to initialize a network device, and I'm trying to download
> code *into* my device from some binary system files.  There is no
> "user space" or user process, for that matter, to deal with at this
> point. I just want to (at this step) open a file(s) directly from my
> device driver, read the file(s), and download the relevant parts to my
> device.

There isn't really any clean way of doing this so most drivers that need
to load firmware usually compile them in.  :/

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003172358410.50194-100000>