From: Sathya Perla Date: Sun, 11 Apr 2010 22:35:27 +0000 (+0000) Subject: be2net: clarify promiscuous cmd with a comment X-Git-Tag: v2.6.35-rc1~473^2~486 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58;p=platform%2Fkernel%2Flinux-3.10.git be2net: clarify promiscuous cmd with a comment The promiscous cmd config code gives an impression that setting a port to promisc mode will unset the other port. This is not the case and is clarified with a comment. Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index da87930..e79bf8b 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -1113,6 +1113,10 @@ int be_cmd_promiscuous_config(struct be_adapter *adapter, u8 port_num, bool en) be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, OPCODE_ETH_PROMISCUOUS, sizeof(*req)); + /* In FW versions X.102.149/X.101.487 and later, + * the port setting associated only with the + * issuing pci function will take effect + */ if (port_num) req->port1_promiscuous = en; else