]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Detect APE enabled devs earlier
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 13 Jul 2011 09:27:27 +0000 (09:27 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:21:18 +0000 (16:21 +0800)
commit6448b60508e272ffeb229f44666d57f47963cadd
treefca051bad4e1820d9bcb2c2af798a39d65e3d84f
parent14778547d31be8356f0a4454a37a3985ce8c0af5
tg3: Detect APE enabled devs earlier

The following patch will require the driver to communicate with the APE
much sooner than before.  This patch make sure the APE registers are
memory mapped and that the ENABLE_APE bit is set before the first use.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit c9cab24e954867a03ab833ea3b4c0e6e607eb0d6)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c