]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Apply logic changes for the new scheme
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Tue, 7 Sep 2010 11:41:07 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 20:15:40 +0000 (13:15 -0700)
commit31e9cf48b553c8c16c40f60b74b39772d781b23a
tree35407386797909073baafe68fdca35b71d5df0e5
parent01a78e107c2856e080537dbf75e955e6957b9f62
bnx2x: Apply logic changes for the new scheme

Make the needed changes for the new scheme especially around PHY
initialization, and link detection.
- The get_emac_base function was changed to enable setting different MAC
access setting for each PHY based of external configuration.
- As a part of the dual-media preparation, the save_spirom_version was
modified to accept a PHY specific version address to be saved in the
shmem. This will enable to save more than single spirom version in

different locations.
- The test_link function was changed also as a preparation for the
dual-media upcoming changes
- Duplicate initialization logic was removed from the
link_setting_status and link_initialize functions

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
drivers/net/bnx2x/bnx2x_link.h