be2net: get rid of be_ctrl_info struct/abstraction
authorSathya Perla <sathyap@serverengines.com>
Mon, 27 Jul 2009 22:52:03 +0000 (22:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 06:06:20 +0000 (23:06 -0700)
commit8788fdc2a53cf012a43808877eaa6ac7e3c923b4
treeef62e30494ee1aaced18250ddb7295ff0bb28f7a
parent2f6d7c1b34403b97fa57473edcb6749d1db5ace3
be2net: get rid of be_ctrl_info struct/abstraction

Currently only the be_ctrl_info struct ptr (instead of adapter) is
 passed to all the routines in be_cmds.c. Instead pass be_adapter
ptr to allow access to all its fields. Merge the contents of struct be_ctrl_info
into be_adapter. The resulting code is simpler.

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