|
@@ -1,6 +1,6 @@
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
/*
|
|
|
- * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#ifndef _BENGAL_PORT_CONFIG
|
|
@@ -21,6 +21,15 @@ static struct port_params rx_frame_params_default[SWR_MSTR_PORT_LEN] = {
|
|
|
{0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0},
|
|
|
};
|
|
|
|
|
|
+static struct port_params rx_frame_params_rouleur[SWR_MSTR_PORT_LEN] = {
|
|
|
+ {3, 0, 0, 0xFF, 0xFF, 1, 0xFF, 0xFF, 1},
|
|
|
+ {31, 0, 0, 3, 6, 7, 0, 0xFF, 0},
|
|
|
+ {31, 1, 0, 0xFF, 0xFF, 4, 1, 0xFF, 0},
|
|
|
+ {7, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0},
|
|
|
+ {0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0},
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
static struct port_params rx_frame_params_dsd[SWR_MSTR_PORT_LEN] = {
|
|
|
{3, 0, 0, 0xFF, 0xFF, 1, 0xFF, 0xFF, 1},
|
|
|
{31, 0, 0, 3, 6, 7, 0, 0xFF, 0},
|
|
@@ -42,4 +51,9 @@ static struct swr_mstr_port_map sm_port_map[] = {
|
|
|
{RX_MACRO, SWR_UC1, rx_frame_params_dsd},
|
|
|
};
|
|
|
|
|
|
+static struct swr_mstr_port_map sm_port_map_rouleur[] = {
|
|
|
+ {VA_MACRO, SWR_UC0, tx_frame_params_default},
|
|
|
+ {RX_MACRO, SWR_UC0, rx_frame_params_rouleur},
|
|
|
+ {RX_MACRO, SWR_UC1, rx_frame_params_dsd},
|
|
|
+};
|
|
|
#endif /* _BENGAL_PORT_CONFIG */
|