tg3: Consolidate ASIC rev detection code
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:13 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 01:45:06 +0000 (20:45 -0500)
commit42b123b1297d10e79bd75bc665058122161f368d
treea2e10cd60c85e44c021dd3f155194e1a9cb2f30a
parentb28f389d92114ecf1a7c99eb3865438543a1808b
tg3: Consolidate ASIC rev detection code

Detecting the ASIC revision of a device is getting to be an increasingly
complex process.  This patch consolidates all the ASIC rev detection
code to a single routine for better maintainability.

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