public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: Leon Romanovsky <leon@kernel.org>
Cc: Ohad Oz <ohado@mellanox.com>,
	davem@davemloft.net, netdev@vger.kernel.org, saeedm@mellanox.com,
	vadimp@mellanox.com, system-sw-low-level@mellanox.com
Subject: Re: [patch v1 1/2] Allow Mellanox network vendor to be configured if only I2C bus is configured
Date: Mon, 14 Aug 2017 09:00:52 +0200	[thread overview]
Message-ID: <20170814070052.GB1855@nanopsycho> (raw)
In-Reply-To: <20170812143715.GN24282@mtr-leonro.local>

Sat, Aug 12, 2017 at 04:37:15PM CEST, leon@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 <ohado@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
>>

      parent reply	other threads:[~2017-08-14  7:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 17:11 [patch v1 1/2] Allow Mellanox network vendor to be configured if only I2C bus is configured Ohad Oz
2017-08-10 17:11 ` [patch v1 2/2] Change Kconfig description Ohad Oz
2017-08-12 14:37 ` [patch v1 1/2] Allow Mellanox network vendor to be configured if only I2C bus is configured Leon Romanovsky
2017-08-13 15:26   ` Ohad Oz
2017-08-14  0:25     ` David Miller
2017-08-14  5:20       ` Leon Romanovsky
2017-08-14  7:00   ` Jiri Pirko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170814070052.GB1855@nanopsycho \
    --to=jiri@resnulli.us \
    --cc=davem@davemloft.net \
    --cc=leon@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ohado@mellanox.com \
    --cc=saeedm@mellanox.com \
    --cc=system-sw-low-level@mellanox.com \
    --cc=vadimp@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox