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 <oh...@mellanox.com>
Acked-by: Leon Romanovsky <leo...@mellanox.com>
---
v1->v2
Comments pointed out by Leon Romanovsky <leo...@mellanox.com>
- Rephrase change description.
---
 drivers/net/ethernet/mellanox/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/Kconfig 
b/drivers/net/ethernet/mellanox/Kconfig
index 84a2007..0949741 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.
 
-- 
2.1.4

Reply via email to