Linux Kernel
3.7.1
|
Go to the source code of this file.
Variables | |
const char | pch_driver_version [] = DRV_VERSION |
#define DRV_VERSION "1.01" |
Definition at line 29 of file pch_gbe_main.c.
#define DSC_INIT16 0xC000 |
Definition at line 35 of file pch_gbe_main.c.
#define PCH_GBE_COPYBREAK_DEFAULT 256 |
Definition at line 39 of file pch_gbe_main.c.
#define PCH_GBE_DESC_UNUSED | ( | R | ) |
#define PCH_GBE_DMA_ALIGN 0 |
Definition at line 36 of file pch_gbe_main.c.
#define PCH_GBE_DMA_PADDING 2 |
Definition at line 37 of file pch_gbe_main.c.
#define PCH_GBE_FRAME_SIZE_2048 2048 |
Definition at line 65 of file pch_gbe_main.c.
#define PCH_GBE_FRAME_SIZE_4096 4096 |
Definition at line 66 of file pch_gbe_main.c.
#define PCH_GBE_FRAME_SIZE_8192 8192 |
Definition at line 67 of file pch_gbe_main.c.
Definition at line 69 of file pch_gbe_main.c.
#define PCH_GBE_INT_DISABLE_ALL 0 |
Definition at line 99 of file pch_gbe_main.c.
#define PCH_GBE_INT_ENABLE_MASK |
Definition at line 91 of file pch_gbe_main.c.
#define PCH_GBE_MAC_RGMII_CTRL_SETTING |
Definition at line 57 of file pch_gbe_main.c.
#define PCH_GBE_MAR_ENTRIES 16 |
Definition at line 33 of file pch_gbe_main.c.
#define PCH_GBE_MAX_JUMBO_FRAME_SIZE 10318 |
Definition at line 64 of file pch_gbe_main.c.
#define PCH_GBE_MAX_RX_BUFFER_SIZE 0x2880 |
Definition at line 63 of file pch_gbe_main.c.
#define PCH_GBE_PAUSE_PKT1_VALUE 0x00C28001 |
Definition at line 77 of file pch_gbe_main.c.
#define PCH_GBE_PAUSE_PKT2_VALUE 0x00000100 |
Definition at line 78 of file pch_gbe_main.c.
#define PCH_GBE_PAUSE_PKT4_VALUE 0x01000888 |
Definition at line 79 of file pch_gbe_main.c.
#define PCH_GBE_PAUSE_PKT5_VALUE 0x0000FFFF |
Definition at line 80 of file pch_gbe_main.c.
#define PCH_GBE_PCI_BAR 1 |
Definition at line 40 of file pch_gbe_main.c.
#define PCH_GBE_RESERVE_MEMORY 0x200000 /* 2MB */ |
Definition at line 41 of file pch_gbe_main.c.
#define PCH_GBE_RX_BUFFER_WRITE 16 |
Definition at line 52 of file pch_gbe_main.c.
#define PCH_GBE_RX_DESC | ( | R, | |
i | |||
) | PCH_GBE_GET_DESC(R, i, pch_gbe_rx_desc) |
Definition at line 70 of file pch_gbe_main.c.
#define PCH_GBE_RX_WEIGHT 64 |
Definition at line 51 of file pch_gbe_main.c.
#define PCH_GBE_SHORT_PKT 64 |
Definition at line 34 of file pch_gbe_main.c.
#define PCH_GBE_TX_DESC | ( | R, | |
i | |||
) | PCH_GBE_GET_DESC(R, i, pch_gbe_tx_desc) |
Definition at line 71 of file pch_gbe_main.c.
#define PCH_GBE_TX_WEIGHT 64 |
Definition at line 50 of file pch_gbe_main.c.
Definition at line 38 of file pch_gbe_main.c.
#define PCH_GBE_WL_INIT_SETTING (PCH_GBE_WLC_MP) |
Definition at line 55 of file pch_gbe_main.c.
#define PCI_DEVICE_ID_INTEL_IOH1_GBE 0x8802 /* Pci device ID */ |
Definition at line 32 of file pch_gbe_main.c.
#define PCI_DEVICE_ID_ROHM_ML7223_GBE 0x8013 |
Definition at line 45 of file pch_gbe_main.c.
#define PCI_DEVICE_ID_ROHM_ML7831_GBE 0x8802 |
Definition at line 48 of file pch_gbe_main.c.
#define PCI_VENDOR_ID_ROHM 0x10db |
Definition at line 44 of file pch_gbe_main.c.
MODULE_AUTHOR | ( | "LAPIS | SEMICONDUCTOR, |
< tshimizu818 @gmail.com >" | |||
) |
MODULE_DESCRIPTION | ( | "EG20T PCH Gigabit ethernet Driver" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
pch_gbe_pcidev_id | |||
) |
module_exit | ( | pch_gbe_exit_module | ) |
module_init | ( | pch_gbe_init_module | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_VERSION | ( | DRV_VERSION | ) |
void pch_gbe_down | ( | struct pch_gbe_adapter * | adapter | ) |
pch_gbe_down - Down GbE network device : Board private structure
Definition at line 1983 of file pch_gbe_main.c.
void pch_gbe_free_rx_resources | ( | struct pch_gbe_adapter * | adapter, |
struct pch_gbe_rx_ring * | rx_ring | ||
) |
pch_gbe_free_rx_resources - Free Rx Resources : Board private structure : Ring to clean the resources from
Definition at line 1876 of file pch_gbe_main.c.
void pch_gbe_free_tx_resources | ( | struct pch_gbe_adapter * | adapter, |
struct pch_gbe_tx_ring * | tx_ring | ||
) |
pch_gbe_free_tx_resources - Free Tx Resources : Board private structure : Tx descriptor ring for a specific queue
Definition at line 1859 of file pch_gbe_main.c.
Definition at line 552 of file pch_gbe_main.c.
s32 pch_gbe_mac_force_mac_fc | ( | struct pch_gbe_hw * | hw | ) |
pch_gbe_mac_force_mac_fc - Force the MAC's flow control settings : Pointer to the HW structure Returns: 0: Successful. Negative value: Failed.
Definition at line 475 of file pch_gbe_main.c.
|
inline |
Definition at line 296 of file pch_gbe_main.c.
s32 pch_gbe_mac_read_mac_addr | ( | struct pch_gbe_hw * | hw | ) |
pch_gbe_mac_read_mac_addr - Read MAC address : Pointer to the HW structure Returns: 0: Successful.
Definition at line 307 of file pch_gbe_main.c.
void pch_gbe_reinit_locked | ( | struct pch_gbe_adapter * | adapter | ) |
pch_gbe_reinit_locked- Re-initialization : Board private structure
Definition at line 755 of file pch_gbe_main.c.
void pch_gbe_reset | ( | struct pch_gbe_adapter * | adapter | ) |
pch_gbe_reset - Reset GbE : Board private structure
Definition at line 765 of file pch_gbe_main.c.
int pch_gbe_setup_rx_resources | ( | struct pch_gbe_adapter * | adapter, |
struct pch_gbe_rx_ring * | rx_ring | ||
) |
pch_gbe_setup_rx_resources - Allocate Rx resources (Descriptors) : Board private structure : Rx descriptor ring (for a specific queue) to setup Returns: 0: Successfully Negative value: Failed
Definition at line 1818 of file pch_gbe_main.c.
int pch_gbe_setup_tx_resources | ( | struct pch_gbe_adapter * | adapter, |
struct pch_gbe_tx_ring * | tx_ring | ||
) |
pch_gbe_setup_tx_resources - Allocate Tx resources (Descriptors) : Board private structure : Tx descriptor ring (for a specific queue) to setup Returns: 0: Successfully Negative value: Failed
Definition at line 1771 of file pch_gbe_main.c.
int pch_gbe_up | ( | struct pch_gbe_adapter * | adapter | ) |
pch_gbe_up - Up GbE network device : Board private structure Returns: 0: Successfully Negative value: Failed
Definition at line 1928 of file pch_gbe_main.c.
void pch_gbe_update_stats | ( | struct pch_gbe_adapter * | adapter | ) |
pch_gbe_update_stats - Update the board statistics counters : Board private structure
Definition at line 1258 of file pch_gbe_main.c.
const char pch_driver_version[] = DRV_VERSION |
Definition at line 30 of file pch_gbe_main.c.