Subject: Re: kern/32342: OpenBSD firmware loading framework
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/19/2005 23:40:02
The following reply was made to PR kern/32342; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: Jason Thorpe <thorpej@shagadelic.org>, gnats-bugs@netbsd.org
Subject: Re: kern/32342: OpenBSD firmware loading framework
Date: Tue, 20 Dec 2005 00:36:25 +0100
On Mon, Dec 19, 2005 at 05:27:07PM -0500, Christos Zoulas wrote:
> 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...
Just a nit: an ioctl is still slightly more flexible - isdn drivers for
example want to load firmware depending on configuration data (which
protocol to use, etc.). This *could* be sysctl'able too, but I'm not
realy sure I like that direction.
But now those devices can implement an ioctl that just passes the relative
path of their firmware to the kernel and then the ioctl implementation
uses load_firmware() to do the work.
Martin