Sat, Aug 12, 2017 at 04:37:15PM CEST, l...@kernel.org wrote: >On Thu, Aug 10, 2017 at 05:11:51PM +0000, Ohad Oz wrote: >> Patch allows Mellanox devices on system with no PCI, but with I2C only. >> > >Did you test mlx5 device on such system? Did it work for you?
$ git grep i2c_add_driver drivers/net/ethernet/mellanox/ drivers/net/ethernet/mellanox/mlxsw/i2c.c: return i2c_add_driver(i2c_driver); That is the only driver that would probe on i2c, non-pci system. mlx5 just would not probe, so there is nothing to test. > >What is the changelog between v0 and v1 of these patches? > > >> Signed-off-by: Ohad Oz <oh...@mellanox.com> >> --- >> 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.8.0 >>