#include "pch_gbe.h"
#include <linux/module.h>
Go to the source code of this file.
|
| module_param (TxDescriptors, int, 0) |
|
| MODULE_PARM_DESC (TxDescriptors,"Number of transmit descriptors") |
|
| module_param (RxDescriptors, int, 0) |
|
| MODULE_PARM_DESC (RxDescriptors,"Number of receive descriptors") |
|
| module_param (Speed, int, 0) |
|
| MODULE_PARM_DESC (Speed,"Speed setting") |
|
| module_param (Duplex, int, 0) |
|
| MODULE_PARM_DESC (Duplex,"Duplex setting") |
|
| module_param (AutoNeg, int, 0) |
|
| MODULE_PARM_DESC (AutoNeg,"Advertised auto-negotiation setting") |
|
| module_param (FlowControl, int, 0) |
|
| MODULE_PARM_DESC (FlowControl,"Flow Control setting") |
|
| module_param (XsumRX, int, 0) |
|
| MODULE_PARM_DESC (XsumRX,"Disable or enable Receive Checksum offload") |
|
| module_param (XsumTX, int, 0) |
|
| MODULE_PARM_DESC (XsumTX,"Disable or enable Transmit Checksum offload") |
|
void | pch_gbe_check_options (struct pch_gbe_adapter *adapter) |
|
#define AA "AutoNeg advertising " |
#define OPTION_DISABLED 0 |
#define PCH_AUTONEG_ADVERTISE_DEFAULT 0x2F |
#define PCH_GBE_DEFAULT_RX_CSUM true /* trueorfalse */ |
#define PCH_GBE_DEFAULT_TX_CSUM true /* trueorfalse */ |
#define PHY_ADVERTISE_1000_FULL 0x0020 |
#define PHY_ADVERTISE_1000_HALF 0x0010 /* Not used, just FYI */ |
#define PHY_ADVERTISE_100_FULL 0x0008 |
#define PHY_ADVERTISE_100_HALF 0x0004 |
#define PHY_ADVERTISE_10_FULL 0x0002 |
#define PHY_ADVERTISE_10_HALF 0x0001 |
module_param |
( |
TxDescriptors |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
RxDescriptors |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
Speed |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
Duplex |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
AutoNeg |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
XsumRX |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
XsumTX |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
TxDescriptors |
, |
|
|
"Number of transmit descriptors" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
RxDescriptors |
, |
|
|
"Number of receive descriptors" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
Speed |
, |
|
|
"Speed setting" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
Duplex |
, |
|
|
"Duplex setting" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
AutoNeg |
, |
|
|
"Advertised auto-negotiation setting" |
|
|
) |
| |
pch_gbe_check_options - Range Checking for Command Line Parameters : Board private structure
Definition at line 427 of file pch_gbe_param.c.