aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/phy.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/phy.h')
-rw-r--r--drivers/net/sfc/phy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/sfc/phy.h b/drivers/net/sfc/phy.h
index 7ab07575c6d3..1dab609757fb 100644
--- a/drivers/net/sfc/phy.h
+++ b/drivers/net/sfc/phy.h
@@ -37,6 +37,17 @@ extern struct efx_phy_operations falcon_qt202x_phy_ops;
37extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state); 37extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state);
38 38
39/**************************************************************************** 39/****************************************************************************
40* Transwitch CX4 retimer
41*/
42extern struct efx_phy_operations falcon_txc_phy_ops;
43
44#define TXC_GPIO_DIR_INPUT 0
45#define TXC_GPIO_DIR_OUTPUT 1
46
47extern void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir);
48extern void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int val);
49
50/****************************************************************************
40 * Siena managed PHYs 51 * Siena managed PHYs
41 */ 52 */
42extern struct efx_phy_operations efx_mcdi_phy_ops; 53extern struct efx_phy_operations efx_mcdi_phy_ops;