[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1620744143-26075-1-git-send-email-loic.poulain@linaro.org>
Date: Tue, 11 May 2021 16:42:22 +0200
From: Loic Poulain <loic.poulain@...aro.org>
To: oliver@...kum.org
Cc: kuba@...nel.org, davem@...emloft.net, bjorn@...k.no,
netdev@...r.kernel.org, aleksander@...ksander.es,
Loic Poulain <loic.poulain@...aro.org>
Subject: [PATCH net-next v2 1/2] net: wwan: Add unknown port type
Some devices may have ports with unknown type/protocol which need to
be tagged (though not supported by WWAN core). This will be the case
for cdc-wdm based drivers.
Signed-off-by: Loic Poulain <loic.poulain@...aro.org>
---
v2: Replace CDC specific port types change with that change
include/linux/wwan.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/wwan.h b/include/linux/wwan.h
index aa05a25..7216c11 100644
--- a/include/linux/wwan.h
+++ b/include/linux/wwan.h
@@ -15,6 +15,7 @@
* @WWAN_PORT_QMI: Qcom modem/MSM interface for modem control
* @WWAN_PORT_QCDM: Qcom Modem diagnostic interface
* @WWAN_PORT_FIREHOSE: XML based command protocol
+ * @WWAN_PORT_UNKNOWN: Unknown port type
* @WWAN_PORT_MAX: Number of supported port types
*/
enum wwan_port_type {
@@ -23,7 +24,8 @@ enum wwan_port_type {
WWAN_PORT_QMI,
WWAN_PORT_QCDM,
WWAN_PORT_FIREHOSE,
- WWAN_PORT_MAX,
+ WWAN_PORT_UNKNOWN,
+ WWAN_PORT_MAX = WWAN_PORT_UNKNOWN,
};
struct wwan_port;
--
2.7.4
Powered by blists - more mailing lists