bnx2x: Improve cl45 access methods
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 31 May 2011 21:29:42 +0000 (21:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jun 2011 20:10:57 +0000 (13:10 -0700)
commita198c142aacf82acad29e1752191bda8b451a0c7
tree539a2bba7ccac04fd7227dae523e118c88ad86e5
parentec146a6f019923819f5ca381980248b6d154ca1a
bnx2x: Improve cl45 access methods

Instead of setting CL45 mode for every CL45 access, apply it once during initialization.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_link.c