]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: restrict MODIFY_EQ_DELAY cmd to a max of 8 EQs
authorSuresh Reddy <Suresh.Reddy@emulex.com>
Fri, 20 Mar 2015 10:28:24 +0000 (06:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 17:25:51 +0000 (13:25 -0400)
commit2d39594cfe712b2296e167aaa276da727daa828b
tree1c663d8db983a998b69d8f6dfb886947976f9534
parent345a2198f6fa308e6d7c2093f502e354870585e3
be2net: restrict MODIFY_EQ_DELAY cmd to a max of 8 EQs

Issuing this cmd for more than 8 EQs does not have the intended effect
even on BEx and Skyhawk-R.

This patch fixes this by issuing this cmd for upto 8 EQs at a time.
Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c