MOD_FIRMWARE_LOAD

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

mod_firmware_load - load sound driver firmware  

SYNOPSIS

"SYNOPSIS"

int mod_firmware_load (const char * fn, char ** fp);  

ARGUMENTS

fn
filename
fp
return for the buffer.
 

DESCRIPTION

Load the firmware for a sound module (up to 128K) into a buffer. The buffer is returned in *fp. It is allocated with vmalloc so is virtually linear and not DMAable. The caller should free it with vfree when finished.

The length of the buffer is returned on a successful load, the value zero on a failure.  

CAUTION

This API is not recommended. Firmware should be loaded via an ioctl call and a setup application. This function may disappear in future.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
CAUTION

This document was created by man2html, using the manual pages.
Time: 05:30:46 GMT, October 06, 2005