be2net: Issue fw_init/clean cmds to fw
authorSathya Perla <sathyap@serverengines.com>
Sun, 22 Nov 2009 22:02:03 +0000 (22:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2009 18:44:23 +0000 (10:44 -0800)
commit2243e2e95e24f4c4b1c6575b874ebe0b837d2208
tree0a9c10b30834cad4bc231d59352b8c5f9fc9f546
parent01ed30da5d2e718df458f1680fd97751a769c1a2
be2net: Issue fw_init/clean cmds to fw

These cmds are issued to the fw in probe/resume and remove/suspend
paths to help fw execute some initialization and cleanup code.

This change needed the be_hw_up() code to be refactored as be_get_config().

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c
drivers/net/benet/be_cmds.h
drivers/net/benet/be_main.c