]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Detect APE enabled devs earlier
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 13 Jul 2011 09:27:27 +0000 (09:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 15:41:58 +0000 (08:41 -0700)
commit8886e9f62125de6376e36bebd12f3242c2441911
tree29c04653c4cfaa36feee3db4e6177886b34a54e8
parent1afc47220cbc8dde364e59c2ffe9bb559ad14928
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>
drivers/net/tg3.c