diff options
author | Sathya Perla <sathyap@serverengines.com> | 2010-04-11 22:35:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 03:32:43 -0700 |
commit | 69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58 (patch) | |
tree | e3a2da577aad98934e7568a7fa5fd00d83704978 /drivers | |
parent | 127aa0e14b3e1f8476c4781facdfac11d5546872 (diff) | |
download | kernel_samsung_crespo-69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58.zip kernel_samsung_crespo-69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58.tar.gz kernel_samsung_crespo-69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58.tar.bz2 |
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 <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be_cmds.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |