]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
bnx2: Put rx ring variables in a separate struct.
authorMichael Chan <mchan@broadcom.com>
Thu, 19 Jun 2008 23:38:19 +0000 (16:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2008 23:38:19 +0000 (16:38 -0700)
commitbb4f98abf590cf9899017f14f1a54984f02a0009
tree602da9b7cab22a16f2f1fd77f5db51a3de44b085
parent35e9010b22503f42cbf88144ffe1feff90ea3835
bnx2: Put rx ring variables in a separate struct.

In preparation for multi-ring support, rx ring variables are now put
in a separate bnx2_rx_ring_info struct.  With MSI-X, we can support
multiple rx rings.

The functions to allocate/free rx memory and to initialize rx 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