summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorOhad Oz <ohado@mellanox.com>2017-08-14 15:38:21 +0000
committerDavid S. Miller <davem@davemloft.net>2017-08-14 11:18:16 -0700
commit8122e08b1d876b9af605db5ad351961c5ea276ed (patch)
tree8fb7bf9f0a5218c49267d01efc2bb621ec5032fb /drivers/net/ethernet/mellanox
parent54161ed4eedeef9442a0a7d3b1a15ad44f8f9831 (diff)
Allow Mellanox switch devices to be configured if only I2C bus is set
Mellanox switches (mlxsw) supports I2C systems without PCI, in order to give the ability to the users to use such functionality, there is need to update Kconfig. Signed-off-by: Ohad Oz <ohado@mellanox.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r--drivers/net/ethernet/mellanox/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/Kconfig b/drivers/net/ethernet/mellanox/Kconfig
index 84a200764111..09497419eab2 100644
--- a/drivers/net/ethernet/mellanox/Kconfig
+++ b/drivers/net/ethernet/mellanox/Kconfig
@@ -5,7 +5,7 @@
config NET_VENDOR_MELLANOX
bool "Mellanox devices"
default y
- depends on PCI
+ depends on PCI || I2C
---help---
If you have a network (Ethernet) card belonging to this class, say Y.