Skip to content

Commit 6bd860a

Browse files
geertudavem330
authored andcommitted
chelsio/chtls: CHELSIO_INLINE_CRYPTO should depend on CHELSIO_T4
While CHELSIO_INLINE_CRYPTO is a guard symbol, and just enabling it does not cause any additional code to be compiled in, all configuration options protected by it depend on CONFIG_CHELSIO_T4. Hence it doesn't make much sense to bother the user with the guard symbol question when CONFIG_CHELSIO_T4 is disabled. Fix this by moving the dependency from the individual config options to the guard symbol. Fixes: 44fd1c1 ("chelsio/chtls: separate chelsio tls driver from crypto driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cc50bb3 commit 6bd860a

File tree

1 file changed

+1
-2
lines changed
  • drivers/net/ethernet/chelsio/inline_crypto

1 file changed

+1
-2
lines changed

drivers/net/ethernet/chelsio/inline_crypto/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config CHELSIO_INLINE_CRYPTO
77
bool "Chelsio Inline Crypto support"
8+
depends on CHELSIO_T4
89
default y
910
help
1011
Enable support for inline crypto.
@@ -14,7 +15,6 @@ if CHELSIO_INLINE_CRYPTO
1415

1516
config CRYPTO_DEV_CHELSIO_TLS
1617
tristate "Chelsio Crypto Inline TLS Driver"
17-
depends on CHELSIO_T4
1818
depends on TLS_TOE
1919
help
2020
Support Chelsio Inline TLS with Chelsio crypto accelerator.
@@ -25,7 +25,6 @@ config CRYPTO_DEV_CHELSIO_TLS
2525

2626
config CHELSIO_IPSEC_INLINE
2727
tristate "Chelsio IPSec XFRM Tx crypto offload"
28-
depends on CHELSIO_T4
2928
depends on XFRM_OFFLOAD
3029
depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
3130
help

0 commit comments

Comments
 (0)