Subject: Re: kern/32342: OpenBSD firmware loading framework
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 12/19/2005 22:30:02
The following reply was made to PR kern/32342; it has been noted by GNATS.
From: christos@zoulas.com (Christos Zoulas)
To: Jason Thorpe <thorpej@shagadelic.org>, gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/32342: OpenBSD firmware loading framework
Date: Mon, 19 Dec 2005 17:27:07 -0500
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