summaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan
diff options
context:
space:
mode:
authorJinjian Song <jinjian.song@fibocom.com>2024-02-05 11:22:27 +0100
committerDavid S. Miller <davem@davemloft.net>2024-02-09 13:07:48 +0100
commite3caf184107a4e2e196528b98b218ddc41e4cb8c (patch)
treefeea12540ace027a132fe7fc07a1e9e82ea2471a /drivers/net/wwan
parentMerge branch 'netconsole-userdata-append' (diff)
downloadlinux-e3caf184107a4e2e196528b98b218ddc41e4cb8c.tar.xz
linux-e3caf184107a4e2e196528b98b218ddc41e4cb8c.zip
wwan: core: Add WWAN fastboot port type
Add a new WWAN port that connects to the device fastboot protocol interface. Signed-off-by: Jinjian Song <jinjian.song@fibocom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan')
-rw-r--r--drivers/net/wwan/wwan_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c
index 72e01e550a16..2ed20b20e7fc 100644
--- a/drivers/net/wwan/wwan_core.c
+++ b/drivers/net/wwan/wwan_core.c
@@ -328,6 +328,10 @@ static const struct {
.name = "XMMRPC",
.devsuf = "xmmrpc",
},
+ [WWAN_PORT_FASTBOOT] = {
+ .name = "FASTBOOT",
+ .devsuf = "fastboot",
+ },
};
static ssize_t type_show(struct device *dev, struct device_attribute *attr,