Subject: micro-code and PCI
To: None <>
From: Steven Grunza <>
List: tech-kern
Date: 07/27/2000 11:17:45
Hash: SHA1

I'm writing a driver for a PCI board that requires microcode to be
downloaded to it.  Has any kind of standard been created for doing
this?  Mainly, where should the microcode be kept (/sys/dev/pci,
/sys/microcode, ???).

Also, I need to have the board DMA the micro-code from host memory. 
Should the driver be given the name of the micro-code by the userland
program or should the userland program open the file and pass the
driver a pointer to the memory?  If the userland program passes a
pointer to memory, it would seem that the driver will need to
allocate wired memory, copy the data from userland, and then start
the DMA.

If any one knows of a board (not necessarily PCI) that uses microcode
downloaded from a file on the host's disk drive, let me know and I'll
go read the code....


Steven G.

Version: PGPfreeware 6.5.3 for non-commercial use <>


"Luke, you're going to find that many | Steven Grunza
of the truths we cling to depend      | voice:  (856) 787 - 2759 
greatly on our own point of view."    | fax:    (856) 866 - 2033
 - Obi Wan Kenobi, Return of the Jedi | e-mail: