]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Put tx ring variables in a separate struct.
authorMichael Chan <mchan@broadcom.com>
Thu, 19 Jun 2008 23:37:42 +0000 (16:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2008 23:37:42 +0000 (16:37 -0700)
commit9cfe493af60102938db5e0024edbaffaf41e679d
treeee2c0e5ae61ee6a7508cce38ed2a79ce52049d38
parent86e3dbb7f64b89621d932b58095cbedcbac75a58
bnx2: Put tx ring variables in a separate struct.

In preparation for multi-ring support, tx ring variables are now put
in a separate bnx2_tx_ring_info struct.  Multi tx ring will not be
enabled until it is fully supported by the stack.  Only 1 tx ring
will be used at the moment.

The functions to allocate/free tx memory and to initialize tx rings
are now modified to handle multiple rings.

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
drivers/net/bnx2.h