commit | f34d28ea0174df63253dc20a95de0b48e3d8145a | [log] [tgz] |
---|---|---|
author | Eilon Greenstein <eilong@broadcom.com> | Thu Oct 15 00:18:08 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 15 00:18:08 2009 -0700 |
tree | f3a1617b224b1305f6090ed05c33e16c136d8eb7 | |
parent | 52a7a12fb560f22dd093ca74f3a768d51b044a40 [diff] |
bnx2x: Changing the Disabled state to a flag When working with DCC, a function can be disabled or enabled (virtual link down or up). Using the function state introduced some race conditions with the load/unload flow. Using a separate flag to indicate that the function is disabled. Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>