#include <linux/netdevice.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "e1000.h"
Go to the source code of this file.
|
| module_param (copybreak, uint, 0644) |
|
| MODULE_PARM_DESC (copybreak,"Maximum size of packet that is copied to a new buffer on receive") |
|
| 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 (IntMode,"Interrupt Mode") |
|
| E1000_PARAM (SmartPowerDownEnable,"Enable PHY smart power down") |
|
| E1000_PARAM (KumeranLockLoss,"Enable Kumeran lock loss workaround") |
|
| E1000_PARAM (WriteProtectNVM,"Write-protect NVM [WARNING: disabling this can lead to corrupted NVM]") |
|
| E1000_PARAM (CrcStripping,"Enable CRC Stripping, disable if your BMC needs the CRC") |
|
void __devinit | e1000e_check_options (struct e1000_adapter *adapter) |
|
#define COPYBREAK_DEFAULT 256 |
#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 59 of file param.c.
#define MAX_RXABSDELAY 0xFFFF |
#define MAX_RXDELAY 0xFFFF |
#define MAX_TXABSDELAY 0xFFFF |
#define MAX_TXDELAY 0xFFFF |
#define OPTION_DISABLED 0 |
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 |
( |
IntMode |
, |
|
|
"Interrupt Mode" |
|
|
) |
| |
E1000_PARAM |
( |
SmartPowerDownEnable |
, |
|
|
"Enable PHY smart power down" |
|
|
) |
| |
E1000_PARAM |
( |
KumeranLockLoss |
, |
|
|
"Enable Kumeran lock loss workaround" |
|
|
) |
| |
E1000_PARAM |
( |
WriteProtectNVM |
, |
|
|
"Write-protect NVM " |
[WARNING:disabling this can lead to corrupted NVM] |
|
) |
| |
e1000e_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 252 of file param.c.