Преглед на файлове

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>
Ohad Oz преди 8 години
родител
ревизия
8122e08b1d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      drivers/net/ethernet/mellanox/Kconfig

+ 1 - 1
drivers/net/ethernet/mellanox/Kconfig

@@ -5,7 +5,7 @@
 config NET_VENDOR_MELLANOX
 config NET_VENDOR_MELLANOX
 	bool "Mellanox devices"
 	bool "Mellanox devices"
 	default y
 	default y
-	depends on PCI
+	depends on PCI || I2C
 	---help---
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 	  If you have a network (Ethernet) card belonging to this class, say Y.