Subject: Re: kern/32342: OpenBSD firmware loading framework
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 12/19/2005 17:27:07
On Dec 19, 2:20pm, thorpej@shagadelic.org (Jason Thorpe) wrote:
-- Subject: Re: kern/32342: OpenBSD firmware loading framework
| I'm not sure I like this:
|
| - Tries to read it all in at once (into a wired kernel buffer
| allocated from kmem_map). It would be better to allow a driver to
| read in pieces at a time, potentially into pageable memory.
What would be the API for that? Using a callback mechanism?
| - It should be possible to set the directory search path via sysctl,
| rather than hard-coding "/etc/firmware".
That should be simple enough to implement. I think that the idea of having
some standard way to load firmware is good instead of having each driver
provide ioctl enries...
christos