RE: Question about file I/O in device driver kernel module

Benjamin Scott (dragonhawk@iname.com)
Wed, 6 Oct 1999 21:43:52 -0400 (EDT)


On Wed, 6 Oct 1999, Jeremy Fitzhardinge wrote:
> 2. If the microcode is going to chnage often, you could add an ioctl for
> inserting the microcode, which an accompanying user-mode program to read it
> from disk and pass it to the ioctl.

Alternatively, you could have two device files. One for device I/O, and one
for loading microcode. Then a simple "cat microcode > /dev/mydev" would
suffice.

--
Benjamin Scott
dragonhawk@iname.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/