Skip to content

Commit e02e72c

Browse files
authored
Merge pull request #1200 from c-po/kernel-wwan
Kernel: T8938: consolidate build time options for amd64 and arm64 WWAN
2 parents 4c0a579 + 40b8f6f commit e02e72c

3 files changed

Lines changed: 12 additions & 20 deletions

File tree

scripts/package-build/linux-kernel/config/12-wwan.config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#
2+
# Wireless WAN
3+
#
4+
CONFIG_WWAN=y
5+
CONFIG_WWAN_DEBUGFS=y
6+
CONFIG_WWAN_HWSIM=m
7+
CONFIG_IOSM=m
8+
CONFIG_MTK_T7XX=m
9+
# end of Wireless WAN
10+
11+
CONFIG_USB_SERIAL_WWAN=y
112
CONFIG_USB_NET_CDCETHER=y
213
CONFIG_USB_NET_CDC_EEM=y
314
CONFIG_USB_NET_CDC_NCM=y

scripts/package-build/linux-kernel/config/arm64/vyos_defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2345,12 +2345,6 @@ CONFIG_WLAN_VENDOR_SILABS=y
23452345
# CONFIG_VIRT_WIFI is not set
23462346
# CONFIG_WAN is not set
23472347

2348-
#
2349-
# Wireless WAN
2350-
#
2351-
# CONFIG_WWAN is not set
2352-
# end of Wireless WAN
2353-
23542348
CONFIG_XEN_NETDEV_FRONTEND=m
23552349
CONFIG_XEN_NETDEV_BACKEND=m
23562350
CONFIG_VMXNET3=m
@@ -4150,7 +4144,6 @@ CONFIG_USB_SERIAL_SIERRAWIRELESS=m
41504144
# CONFIG_USB_SERIAL_SYMBOL is not set
41514145
CONFIG_USB_SERIAL_TI=m
41524146
# CONFIG_USB_SERIAL_CYBERJACK is not set
4153-
CONFIG_USB_SERIAL_WWAN=m
41544147
CONFIG_USB_SERIAL_OPTION=m
41554148
# CONFIG_USB_SERIAL_OMNINET is not set
41564149
# CONFIG_USB_SERIAL_OPTICON is not set
@@ -4961,7 +4954,6 @@ CONFIG_ARM_SMMU_QCOM=y
49614954
CONFIG_ARM_SMMU_V3=y
49624955
# CONFIG_ARM_SMMU_V3_SVA is not set
49634956
CONFIG_QCOM_IOMMU=y
4964-
# CONFIG_VIRTIO_IOMMU is not set
49654957

49664958
#
49674959
# Remoteproc drivers

scripts/package-build/linux-kernel/config/x86/vyos_defconfig

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,16 +2193,6 @@ CONFIG_WLAN_VENDOR_SILABS=y
21932193
# CONFIG_VIRT_WIFI is not set
21942194
# CONFIG_WAN is not set
21952195

2196-
#
2197-
# Wireless WAN
2198-
#
2199-
CONFIG_WWAN=y
2200-
CONFIG_WWAN_DEBUGFS=y
2201-
CONFIG_WWAN_HWSIM=m
2202-
CONFIG_IOSM=m
2203-
CONFIG_MTK_T7XX=m
2204-
# end of Wireless WAN
2205-
22062196
CONFIG_XEN_NETDEV_FRONTEND=m
22072197
CONFIG_XEN_NETDEV_BACKEND=m
22082198
CONFIG_VMXNET3=m
@@ -3689,7 +3679,6 @@ CONFIG_USB_SERIAL_SIERRAWIRELESS=y
36893679
# CONFIG_USB_SERIAL_SYMBOL is not set
36903680
CONFIG_USB_SERIAL_TI=m
36913681
# CONFIG_USB_SERIAL_CYBERJACK is not set
3692-
CONFIG_USB_SERIAL_WWAN=y
36933682
CONFIG_USB_SERIAL_OPTION=m
36943683
# CONFIG_USB_SERIAL_OMNINET is not set
36953684
# CONFIG_USB_SERIAL_OPTICON is not set
@@ -4264,7 +4253,7 @@ CONFIG_INTEL_IOMMU_PERF_EVENTS=y
42644253
# CONFIG_IOMMUFD is not set
42654254
CONFIG_IRQ_REMAP=y
42664255
CONFIG_HYPERV_IOMMU=y
4267-
CONFIG_VIRTIO_IOMMU=y
4256+
CONFIG_VIRTIO_IOMMU=m
42684257

42694258
#
42704259
# Remoteproc drivers

0 commit comments

Comments
 (0)