Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include "efx.h"
#include "mdio_10g.h"
#include "phy.h"
#include "nic.h"
Go to the source code of this file.
Data Structures | |
struct | qt202x_phy_data |
Macros | |
#define | QT202X_REQUIRED_DEVS |
#define | QT202X_LOOPBACKS |
#define | MDIO_QUAKE_LED0_REG (0xD006) |
#define | PCS_FW_HEARTBEAT_REG 0xd7ee |
#define | PCS_FW_HEARTB_LBN 0 |
#define | PCS_FW_HEARTB_WIDTH 8 |
#define | PCS_FW_PRODUCT_CODE_1 0xd7f0 |
#define | PCS_FW_VERSION_1 0xd7f3 |
#define | PCS_FW_BUILD_1 0xd7f6 |
#define | PCS_UC8051_STATUS_REG 0xd7fd |
#define | PCS_UC_STATUS_LBN 0 |
#define | PCS_UC_STATUS_WIDTH 8 |
#define | PCS_UC_STATUS_FW_SAVE 0x20 |
#define | PMA_PMD_MODE_REG 0xc301 |
#define | PMA_PMD_RXIN_SEL_LBN 6 |
#define | PMA_PMD_FTX_CTRL2_REG 0xc309 |
#define | PMA_PMD_FTX_STATIC_LBN 13 |
#define | PMA_PMD_VEND1_REG 0xc001 |
#define | PMA_PMD_VEND1_LBTXD_LBN 15 |
#define | PCS_VEND1_REG 0xc000 |
#define | PCS_VEND1_LBTXD_LBN 5 |
#define | QT2022C2_MAX_RESET_TIME 500 |
#define | QT2022C2_RESET_WAIT 10 |
#define | QT2025C_MAX_HEARTB_TIME (5 * HZ) |
#define | QT2025C_HEARTB_WAIT 100 |
#define | QT2025C_MAX_FWSTART_TIME (25 * HZ / 10) |
#define | QT2025C_FWSTART_WAIT 100 |
#define | BUG17190_INTERVAL (2 * HZ) |
Functions | |
void | falcon_qt202x_set_led (struct efx_nic *p, int led, int mode) |
Variables | |
struct efx_phy_operations | falcon_qt202x_phy_ops |
#define BUG17190_INTERVAL (2 * HZ) |
Definition at line 74 of file qt202x_phy.c.
#define MDIO_QUAKE_LED0_REG (0xD006) |
Definition at line 31 of file qt202x_phy.c.
#define PCS_FW_BUILD_1 0xd7f6 |
Definition at line 39 of file qt202x_phy.c.
#define PCS_FW_HEARTB_LBN 0 |
Definition at line 35 of file qt202x_phy.c.
#define PCS_FW_HEARTB_WIDTH 8 |
Definition at line 36 of file qt202x_phy.c.
#define PCS_FW_HEARTBEAT_REG 0xd7ee |
Definition at line 34 of file qt202x_phy.c.
#define PCS_FW_PRODUCT_CODE_1 0xd7f0 |
Definition at line 37 of file qt202x_phy.c.
#define PCS_FW_VERSION_1 0xd7f3 |
Definition at line 38 of file qt202x_phy.c.
#define PCS_UC8051_STATUS_REG 0xd7fd |
Definition at line 40 of file qt202x_phy.c.
#define PCS_UC_STATUS_FW_SAVE 0x20 |
Definition at line 43 of file qt202x_phy.c.
#define PCS_UC_STATUS_LBN 0 |
Definition at line 41 of file qt202x_phy.c.
#define PCS_UC_STATUS_WIDTH 8 |
Definition at line 42 of file qt202x_phy.c.
#define PCS_VEND1_LBTXD_LBN 5 |
Definition at line 51 of file qt202x_phy.c.
#define PCS_VEND1_REG 0xc000 |
Definition at line 50 of file qt202x_phy.c.
#define PMA_PMD_FTX_CTRL2_REG 0xc309 |
Definition at line 46 of file qt202x_phy.c.
#define PMA_PMD_FTX_STATIC_LBN 13 |
Definition at line 47 of file qt202x_phy.c.
#define PMA_PMD_MODE_REG 0xc301 |
Definition at line 44 of file qt202x_phy.c.
#define PMA_PMD_RXIN_SEL_LBN 6 |
Definition at line 45 of file qt202x_phy.c.
#define PMA_PMD_VEND1_LBTXD_LBN 15 |
Definition at line 49 of file qt202x_phy.c.
#define PMA_PMD_VEND1_REG 0xc001 |
Definition at line 48 of file qt202x_phy.c.
#define QT2022C2_MAX_RESET_TIME 500 |
Definition at line 66 of file qt202x_phy.c.
#define QT2022C2_RESET_WAIT 10 |
Definition at line 67 of file qt202x_phy.c.
#define QT2025C_FWSTART_WAIT 100 |
Definition at line 72 of file qt202x_phy.c.
#define QT2025C_HEARTB_WAIT 100 |
Definition at line 70 of file qt202x_phy.c.
#define QT2025C_MAX_FWSTART_TIME (25 * HZ / 10) |
Definition at line 71 of file qt202x_phy.c.
#define QT2025C_MAX_HEARTB_TIME (5 * HZ) |
Definition at line 69 of file qt202x_phy.c.
#define QT202X_LOOPBACKS |
Definition at line 25 of file qt202x_phy.c.
#define QT202X_REQUIRED_DEVS |
Definition at line 21 of file qt202x_phy.c.
Definition at line 53 of file qt202x_phy.c.
struct efx_phy_operations falcon_qt202x_phy_ops |
Definition at line 483 of file qt202x_phy.c.