.TH "mod_firmware_load" 9 "mod_firmware_load" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME mod_firmware_load \- load sound driver firmware .SH SYNOPSIS .B "int" mod_firmware_load .BI "(const char *" fn "," .BI "char **" fp ");" .SH ARGUMENTS .IP "fn" 12 filename .IP "fp" 12 return for the buffer. .SH "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. .SH "CAUTION" This API is not recommended. Firmware should be loaded via an ioctl call and a setup application. This function may disappear in future.