All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ohad Oz <ohado@mellanox.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, jiri@resnulli.us, saeedm@mellanox.com,
	vadimp@mellanox.com, system-sw-low-level@mellanox.com,
	Ohad Oz <ohado@mellanox.com>
Subject: [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set
Date: Mon, 14 Aug 2017 15:38:21 +0000	[thread overview]
Message-ID: <1502725102-182550-2-git-send-email-ohado@mellanox.com> (raw)
In-Reply-To: <1502725102-182550-1-git-send-email-ohado@mellanox.com>

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>
---
v1->v2
Comments pointed out by Leon Romanovsky <leonro@mellanox.com>
- Rephrase change description.
---
 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.1.4

  reply	other threads:[~2017-08-14 13:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14 15:38 [patch v2 0/2] Enable Mellanox switch device in I2C mode Ohad Oz
2017-08-14 15:38 ` Ohad Oz [this message]
2017-08-14 13:55   ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Jiri Pirko
2017-08-14 15:38 ` [patch v2 2/2] Change Kconfig description Ohad Oz
2017-08-14 13:55   ` Jiri Pirko
2017-08-14 18:18 ` [patch v2 0/2] Enable Mellanox switch device in I2C mode David Miller

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=1502725102-182550-2-git-send-email-ohado@mellanox.com \
    --to=ohado@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.