> -----Original Message-----
> From: Leon Romanovsky [mailto:l...@kernel.org]
> Sent: Saturday, August 12, 2017 5:37 PM
> To: Ohad Oz <oh...@mellanox.com>
> Cc: da...@davemloft.net; netdev@vger.kernel.org; j...@resnulli.us; Saeed
> Mahameed <sae...@mellanox.com>; Vadim Pasternak
> <vad...@mellanox.com>; system-sw-low-level <system-sw-low-
> le...@mellanox.com>
> Subject: Re: [patch v1 1/2] Allow Mellanox network vendor to be configured
> if only I2C bus is configured
> 
> 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?

Yes, I did. With PCI config set to disable mlx5 drivers are not built. 
Only the following: 
/build/drivers/net/Ethernet/mellanox/mlxsw/mlxsw_core.ko
/build/drivers/net/Ethernet/mellanox /mlxsw/mlxsw_i2c.ko
/build/drivers/net/Ethernet/mellanox /mlxsw/mlxsw_minimal.ko

While with both options on all drivers are built inc mlx5.


> What is the changelog between v0 and v1 of these patches?

No changelog, I've started with v1.

> 
> > 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
> >

Reply via email to