bnx2x: Changing the Disabled state to a flag
authorEilon Greenstein <eilong@broadcom.com>
Thu, 15 Oct 2009 07:18:08 +0000 (00:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2009 07:18:08 +0000 (00:18 -0700)
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>

No differences found