]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Consolidate ASIC rev detection code
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:13 +0000 (15:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:21:33 +0000 (15:21 +0800)
commit57121a108baa76b7ab207898611de429ad069ca7
tree928ebfc0104ec8a7960581a9294c381877c174bf
parent0fa7783919292280a3033b3ab5642da312b11e20
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.

(cherry picked from commit 42b123b1297d10e79bd75bc665058122161f368d)
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c