Go to the source code of this file.
|
| E1000_PARAM (TxDescriptors,"Number of transmit descriptors") |
|
| E1000_PARAM (RxDescriptors,"Number of receive descriptors") |
|
| E1000_PARAM (Speed,"Speed setting") |
|
| E1000_PARAM (Duplex,"Duplex setting") |
|
| E1000_PARAM (AutoNeg,"Advertised auto-negotiation setting") |
|
| E1000_PARAM (FlowControl,"Flow Control setting") |
|
| E1000_PARAM (XsumRX,"Disable or enable Receive Checksum offload") |
|
| E1000_PARAM (TxIntDelay,"Transmit Interrupt Delay") |
|
| E1000_PARAM (TxAbsIntDelay,"Transmit Absolute Interrupt Delay") |
|
| E1000_PARAM (RxIntDelay,"Receive Interrupt Delay") |
|
| E1000_PARAM (RxAbsIntDelay,"Receive Absolute Interrupt Delay") |
|
| E1000_PARAM (InterruptThrottleRate,"Interrupt Throttling Rate") |
|
| E1000_PARAM (SmartPowerDownEnable,"Enable PHY smart power down") |
|
void __devinit | e1000_check_options (struct e1000_adapter *adapter) |
|
#define AA "AutoNeg advertising " |
#define AUTONEG_ADV_DEFAULT 0x2F |
#define AUTONEG_ADV_MASK 0x2F |
#define E1000_PARAM |
( |
|
X, |
|
|
|
desc |
|
) |
| |
Value:
static
unsigned int num_##
X; \
module_param_array_named(
X,
X,
int, &num_##
X, 0); \
MODULE_PARM_DESC(
X,
desc);
Definition at line 47 of file e1000_param.c.
#define FLOW_CONTROL_DEFAULT FLOW_CONTROL_FULL |
#define MAX_RXABSDELAY 0xFFFF |
#define MAX_RXDELAY 0xFFFF |
#define MAX_TXABSDELAY 0xFFFF |
#define MAX_TXDELAY 0xFFFF |
#define OPTION_DISABLED 0 |
e1000_check_options - Range Checking for Command Line Parameters : board private structure
This routine checks all command line parameters for valid user input. If an invalid value is given, or if no user specified value exists, a default value is used. The final value is stored in a variable in the adapter structure.
Definition at line 271 of file e1000_param.c.
E1000_PARAM |
( |
TxDescriptors |
, |
|
|
"Number of transmit descriptors" |
|
|
) |
| |
E1000_PARAM |
( |
RxDescriptors |
, |
|
|
"Number of receive descriptors" |
|
|
) |
| |
E1000_PARAM |
( |
Speed |
, |
|
|
"Speed setting" |
|
|
) |
| |
E1000_PARAM |
( |
Duplex |
, |
|
|
"Duplex setting" |
|
|
) |
| |
E1000_PARAM |
( |
AutoNeg |
, |
|
|
"Advertised auto-negotiation setting" |
|
|
) |
| |
E1000_PARAM |
( |
TxIntDelay |
, |
|
|
"Transmit Interrupt Delay" |
|
|
) |
| |
E1000_PARAM |
( |
TxAbsIntDelay |
, |
|
|
"Transmit Absolute Interrupt Delay" |
|
|
) |
| |
E1000_PARAM |
( |
RxIntDelay |
, |
|
|
"Receive Interrupt Delay" |
|
|
) |
| |
E1000_PARAM |
( |
RxAbsIntDelay |
, |
|
|
"Receive Absolute Interrupt Delay" |
|
|
) |
| |
E1000_PARAM |
( |
InterruptThrottleRate |
, |
|
|
"Interrupt Throttling Rate" |
|
|
) |
| |
E1000_PARAM |
( |
SmartPowerDownEnable |
, |
|
|
"Enable PHY smart power down" |
|
|
) |
| |