E100_SET_BOOL_OPTION
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
e100_set_bool_option - check and set a boolean option
SYNOPSIS
"SYNOPSIS"
void __devinit e100_set_bool_option (struct e100_private * bdp, int val, u32 mask, int default_val, char * name);
ARGUMENTS
- bdp
-
atapter's private data struct
- val
-
the value specified
- mask
-
the mask for the relevant option
- default_val
-
the default value
- name
-
the name of the option
DESCRIPTION
This routine checks a boolean command-line option.
If the option's value is '-1' use the specified default.
Otherwise, if the value is invalid (not 0 or 1),
change it to the default.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 06:20:46 GMT, October 06, 2005