]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bnx2: Zero out context memory for 5709.
authorMichael Chan <mchan@broadcom.com>
Fri, 2 May 2008 23:57:26 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:57:26 +0000 (16:57 -0700)
commit352f76879ebde543817360ce9c18c973d4300f4f
treece718b6c2ae33f2ba8b70eef7b02503bd07a58b9
parent15b169cccff1503a88f12f104e5657c65c53ade7
bnx2: Zero out context memory for 5709.

We should zero out the context memory for 5709 before each reset.  When
we resume after suspend for example, the memory may not be zero and the
chip may not function correctly.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c