aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/falcon.h')
-rw-r--r--drivers/net/sfc/falcon.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon.h b/drivers/net/sfc/falcon.h
index 875b58e94e8e..3085ecfaceed 100644
--- a/drivers/net/sfc/falcon.h
+++ b/drivers/net/sfc/falcon.h
@@ -38,6 +38,26 @@ static inline bool efx_nic_is_dual_func(struct efx_nic *efx)
38 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; 38 return efx_nic_rev(efx) < EFX_REV_FALCON_B0;
39} 39}
40 40
41enum {
42 PHY_TYPE_NONE = 0,
43 PHY_TYPE_TXC43128 = 1,
44 PHY_TYPE_88E1111 = 2,
45 PHY_TYPE_SFX7101 = 3,
46 PHY_TYPE_QT2022C2 = 4,
47 PHY_TYPE_PM8358 = 6,
48 PHY_TYPE_SFT9001A = 8,
49 PHY_TYPE_QT2025C = 9,
50 PHY_TYPE_SFT9001B = 10,
51};
52
53#define FALCON_XMAC_LOOPBACKS \
54 ((1 << LOOPBACK_XGMII) | \
55 (1 << LOOPBACK_XGXS) | \
56 (1 << LOOPBACK_XAUI))
57
58#define FALCON_GMAC_LOOPBACKS \
59 (1 << LOOPBACK_GMAC)
60
41/** 61/**
42 * struct falcon_board_type - board operations and type information 62 * struct falcon_board_type - board operations and type information
43 * @id: Board type id, as found in NVRAM 63 * @id: Board type id, as found in NVRAM