Allow Mellanox switch devices to be configured if only I2C bus is set
authorOhad Oz <ohado@mellanox.com>
Mon, 14 Aug 2017 15:38:21 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 18:18:16 +0000 (11:18 -0700)
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>
drivers/net/ethernet/mellanox/Kconfig

index 84a20076411179c64dcd3e44d2f288121c57a392..09497419eab2a144534d6a1538e2be89d972afcf 100644 (file)
@@ -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.