]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
tg3: Add tx and rx ring resource tracking
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 13:04:37 +0000 (13:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:43:39 +0000 (00:43 -0700)
commitf77a6a8e6cee17b21a43bdf6b853cc2fc0e2c4df
treee604b171d1579cc6cc61b8124425fd331486bf57
parent646c9eddcffd202bb0f3d906cecf94eaf10cad31
tg3: Add tx and rx ring resource tracking

This patch adds code to assign status block, tx producer ring and rx
return ring resources needed for the other interrupt vectors.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h