sssnic: add one dependency in Kconfig
Getting rid of prefix 'CONFIG_' can solve the issue. In the previous patch, I missed one place. Most importantly, I added dependency on CONFIG_PCI_ATS since This drivers relys on CONFIG_PCI_ATS, so we need to adjust in Kconfig files. Fixes: ee280c4189a13 ("sssnic: support this new driver") Signed-off-by: Jason Xing <kernelxing@tencent.com>
This commit is contained in:
parent
5f4dd239de
commit
2f729cf216
|
@ -8,6 +8,7 @@ config NET_VENDOR_3SNIC
|
|||
default y
|
||||
depends on PCI
|
||||
depends on VLAN_8021Q || VLAN_8021Q_MODULE
|
||||
depends on PCI_ATS
|
||||
help
|
||||
If you have a network (Ethernet) card belonging to this class, say Y.
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ config SSSNIC
|
|||
depends on PCI
|
||||
depends on ARM64 || X86_64
|
||||
depends on VLAN_8021Q || VLAN_8021Q_MODULE
|
||||
depends on PCI_ATS
|
||||
select SSSNIC_HW
|
||||
default m
|
||||
help
|
||||
|
@ -23,5 +24,6 @@ config SSSNIC
|
|||
config SSSNIC_HW
|
||||
tristate
|
||||
depends on PCI
|
||||
depends on CONFIG_VLAN_8021Q || CONFIG_VLAN_8021Q_MODULE
|
||||
depends on VLAN_8021Q || VLAN_8021Q_MODULE
|
||||
depends on PCI_ATS
|
||||
default n
|
||||
|
|
Loading…
Reference in New Issue