]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit35e9010b22503f42cbf88144ffe1feff90ea3835
treeee2c0e5ae61ee6a7508cce38ed2a79ce52049d38
parent4497b0763cb1afae463f5e144c28b5d806e28b60
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