tg3: Break out mini producer ring handling
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 13:57:12 +0000 (13:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:42:36 +0000 (15:42 -0700)
commitfdb72b38c94c0ead1f78ecc8db64b832feda22c3
treefba8a1f9351b6d2f5abb6b63f4d906627ea3572a
parent8590a603e5e20ccf49d6cf0ea71ecf5388d1f9da
tg3: Break out mini producer ring handling

This patch separates the code that sets up the mini producer ring from
the code that sets up the jumbo producer rings.  The 5717 asic rev
devices do not have a mini ring, but do have a jumbo frame
implementation similar to the 5704 and previous devices.

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