diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-29 10:15:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 20:23:57 -0500 |
commit | 8880f4ec21e668dcab3c6d387524a887e5bcbf73 (patch) | |
tree | d2f34eec2fba31f3b3141c2e580846e92c4e554c /drivers/net/sfc/phy.h | |
parent | afd4aea03f597f29421dc5767e7d1f754730ec23 (diff) |
sfc: Add support for SFC9000 family (2)
This integrates support for the SFC9000 family of 10G Ethernet
controllers and LAN-on-motherboard chips, starting with the SFL9021
'Siena' and SFC9020 'Bethpage'.
Credit for this code is largely due to my colleagues at Solarflare:
Guido Barzini
Steve Hodgson
Kieran Mansley
Matthew Slattery
Neil Turton
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 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/sfc/phy.h b/drivers/net/sfc/phy.h index 2ad1cec2c720..64dff2d59522 100644 --- a/drivers/net/sfc/phy.h +++ b/drivers/net/sfc/phy.h | |||
@@ -41,4 +41,21 @@ extern struct efx_phy_operations falcon_qt202x_phy_ops; | |||
41 | 41 | ||
42 | extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state); | 42 | extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state); |
43 | 43 | ||
44 | /**************************************************************************** | ||
45 | * Siena managed PHYs | ||
46 | */ | ||
47 | extern struct efx_phy_operations efx_mcdi_phy_ops; | ||
48 | |||
49 | extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus, | ||
50 | unsigned int prtad, unsigned int devad, | ||
51 | u16 addr, u16 *value_out, u32 *status_out); | ||
52 | extern int efx_mcdi_mdio_write(struct efx_nic *efx, unsigned int bus, | ||
53 | unsigned int prtad, unsigned int devad, | ||
54 | u16 addr, u16 value, u32 *status_out); | ||
55 | extern void efx_mcdi_phy_decode_link(struct efx_nic *efx, | ||
56 | struct efx_link_state *link_state, | ||
57 | u32 speed, u32 flags, u32 fcntl); | ||
58 | extern int efx_mcdi_phy_reconfigure(struct efx_nic *efx); | ||
59 | extern void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa); | ||
60 | |||
44 | #endif | 61 | #endif |