aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/firmware.9
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2007-02-15 17:52:17 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2007-02-15 17:52:17 +0000
commitddb53abcd978e2cb048625da4d3aedbe6b26e1ea (patch)
treebc1401db3a3dd049b6ad87b28c377594f6170c03 /share/man/man9/firmware.9
parent33d5497079b6a4e3bf95a36795dbb4153ec702bb (diff)
downloadsrc-ddb53abcd978e2cb048625da4d3aedbe6b26e1ea.tar.gz
src-ddb53abcd978e2cb048625da4d3aedbe6b26e1ea.zip
remove some leftover text and update the text to match the current version
of the code.
Notes
Notes: svn path=/head/; revision=166763
Diffstat (limited to 'share/man/man9/firmware.9')
-rw-r--r--share/man/man9/firmware.915
1 files changed, 5 insertions, 10 deletions
diff --git a/share/man/man9/firmware.9 b/share/man/man9/firmware.9
index 233ea2acaf7c..3dc33f84f36f 100644
--- a/share/man/man9/firmware.9
+++ b/share/man/man9/firmware.9
@@ -43,25 +43,22 @@ struct firmware {
const void *data; /* location of image */
size_t datasize; /* size of image in bytes */
unsigned int version; /* version of the image */
- int refcnt; /* held references */
- struct firmware *parent; /* not null if a subimage */
- linker_file_t file; /* loadable module */
};
.Ed
-.Ft "struct firmware *"
+.Ft "const struct firmware *"
.Fo firmware_register
.Fa "const char *imagename"
.Fa "const void *data"
.Fa "size_t datasize"
.Fa "unsigned int version"
-.Fa "struct firmware *parent"
+.Fa "const struct firmware *parent"
.Fc
.Ft int
.Fn firmware_unregister "const char *imagename"
-.Ft "struct firmware *"
+.Ft "const struct firmware *"
.Fn firmware_get "const char *imagename"
.Ft void
-.Fn firmware_put "struct firmware *fp" "int flags"
+.Fn firmware_put "const struct firmware *fp" "int flags"
.Sh DESCRIPTION
The
.Nm firmware
@@ -88,7 +85,7 @@ subsystem by calling the function
.Fn firmware_register ,
and unregistered by calling
.Fn firmware_unregister .
-These functions are usually (but not exclusively) performed by
+These functions are usually (but not exclusively) called by
specially crafted kernel modules that contain the firmware image.
The modules can be statically compiled in the kernel, or loaded by
.Nm /boot/loader ,
@@ -118,8 +115,6 @@ located at address
.Nm data ,
under the name
.Nm imagename .
-.Nm parent
-is and a pointer to the parent image, if any.
.Pp
The function returns NULL on error (e.g. because an
image with the same name already exists, or the image