sssnic: fix wrong dependencies in Kconfig

Getting rid of prefix 'CONFIG_' can solve the issue.

Fixes: ee280c4189a13 ("sssnic: support this new driver")
Signed-off-by: Jason Xing <kernelxing@tencent.com>
This commit is contained in:
Jason Xing 2024-04-07 11:09:23 +08:00 committed by Jianping Liu
parent ef9fcd99f1
commit 5f4dd239de
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ config NET_VENDOR_3SNIC
bool "3SNIC smart NIC devices"
default y
depends on PCI
depends on CONFIG_VLAN_8021Q || CONFIG_VLAN_8021Q_MODULE
depends on VLAN_8021Q || VLAN_8021Q_MODULE
help
If you have a network (Ethernet) card belonging to this class, say Y.

View File

@ -7,7 +7,7 @@ config SSSNIC
tristate "3SNIC Ethernet Controller SSSNIC Support"
depends on PCI
depends on ARM64 || X86_64
depends on CONFIG_VLAN_8021Q || CONFIG_VLAN_8021Q_MODULE
depends on VLAN_8021Q || VLAN_8021Q_MODULE
select SSSNIC_HW
default m
help