aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiawen Wu <[email protected]>2023-06-06 17:21:05 +0800
committerPaolo Abeni <[email protected]>2023-06-08 13:25:10 +0200
commitaf8de1e307bf1ecbd17d220122832cd093f7a3f8 (patch)
tree7ad71e42e2f50daf6e3ceb73017ab33579cb4a6a /include
parentb83c37315a620fc8dcb5f3cffe4753765228d1f4 (diff)
net: pcs: Add 10GBASE-R mode for Synopsys Designware XPCS
Add basic support for XPCS using 10GBASE-R interface. This mode will be extended to use interrupt, so set pcs.poll false. And avoid soft reset so that the device using this mode is in the default configuration. Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pcs/pcs-xpcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pcs/pcs-xpcs.h b/include/linux/pcs/pcs-xpcs.h
index 914e387d5387..ec8175b847cc 100644
--- a/include/linux/pcs/pcs-xpcs.h
+++ b/include/linux/pcs/pcs-xpcs.h
@@ -18,6 +18,7 @@
#define DW_AN_C37_SGMII 2
#define DW_2500BASEX 3
#define DW_AN_C37_1000BASEX 4
+#define DW_10GBASER 5
struct xpcs_id;