tg3: Relocate APE mutex regs for 5717+
authorMatt Carlson <mcarlson@broadcom.com>
Sat, 5 Jun 2010 17:24:30 +0000 (17:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2010 00:55:58 +0000 (17:55 -0700)
commitf92d9dc1504a964acfe07e8036fa30dcef22d343
tree725728b7cf59480858ad58c1d29a96537fd8f8ce
parenteedc765ca4b19a41cf0b921a492ac08d640060d1
tg3: Relocate APE mutex regs for 5717+

The 5717 and later devices relocate the APE mutex registers.  This patch
organizes the code so that the driver can use the mutex registers in the
old and new locations.

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