mod_firmware_load
Section: Kernel Hacker's Manual (9)
Updated: mod_firmware_load
Index
Return to Main Contents
NAME
mod_firmware_load - load sound driver firmware
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: 03:51:44 GMT, June 12, 2005