tg3: Create tg3_rings_reset()
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 12:53:31 +0000 (12:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:43:28 +0000 (00:43 -0700)
commit2d31ecaf10c4ae03d49aed516481b2839b0220f6
treec30ad4887a0dcc6f26856b329401169d6221421f
parentfd2ce37f8e4a570ce90b141a2e7c476c5b399836
tg3: Create tg3_rings_reset()

This patch moves most of the chip ring setup logic into a separate
function.  This will make it easier to verify the multi ring setup
changes.

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