diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-09-22 14:00:47 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-23 00:26:45 +0400 |
commit | 7e51b439f147670c4ddd2bf6ca4567592b5312de (patch) | |
tree | 60ff5593a49d9cfb50f92633adef8b18a229149d /drivers/net/sfc/phy.h | |
parent | 8fbca791309b5a57bec53e5fd7da912c16416ed3 (diff) | |
download | linux-7e51b439f147670c4ddd2bf6ca4567592b5312de.tar.xz |
sfc: Add support for SFE4003 board and TXC43128 PHY
This board never went into production, but some engineering samples
are in use.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/phy.h')
-rw-r--r-- | drivers/net/sfc/phy.h | 11 |
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; extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state); /**************************************************************************** +* Transwitch CX4 retimer +*/ +extern struct efx_phy_operations falcon_txc_phy_ops; + +#define TXC_GPIO_DIR_INPUT 0 +#define TXC_GPIO_DIR_OUTPUT 1 + +extern void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir); +extern void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int val); + +/**************************************************************************** * Siena managed PHYs */ extern struct efx_phy_operations efx_mcdi_phy_ops; |