DragonFly kernel List (threaded) for 2007-05
DragonFly BSD
DragonFly kernel List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: firmware loading


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Sat, 12 May 2007 14:26:57 +0800

On 5/12/07, km b <kmb810@gmail.com> wrote:
Hi All,

I have started working on the iwi (3945abg) driver. From the linux
refrence driver, I have derived the format of the ucode and how to
load the ucode onto the card. However, I am not sure how to load the
raw ucode, before I can parse the ucode and load it onto the firmware.
Do I have to read the ucode file myself or is there any other
mechanism.

Add a new ioctl command into driver's ioctl handler, then add a user space program to parse the raw ucode, and send the parsed results to driver through the newly added ioctl command. Driver can then load the results (e.g. text and data segments) into device. Take a look at iwi(4) and iwicontrol(8) for example.

Best Regards,
sephe

--
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]