mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
bnx2x: Fix resetting BCM8726 PHY during common init
On BCM8726 based designs, the ports are swapped, hence the reset needs to be asserted through port0 and not port1. Signed-off-by: Yaniv Rosner <[email protected]> Signed-off-by: Eilon Greenstein <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cf1d972cb6
commit
650154bfd1
1 changed files with 1 additions and 1 deletions
|
|
@ -7152,7 +7152,7 @@ static u8 bnx2x_8726_common_init_phy(struct bnx2x *bp,
|
|||
(1<<(MISC_REGISTERS_GPIO_3 + MISC_REGISTERS_GPIO_PORT_SHIFT)));
|
||||
REG_WR(bp, MISC_REG_GPIO_EVENT_EN, val);
|
||||
|
||||
bnx2x_ext_phy_hw_reset(bp, 1);
|
||||
bnx2x_ext_phy_hw_reset(bp, 0);
|
||||
msleep(5);
|
||||
for (port = 0; port < PORT_MAX; port++) {
|
||||
u32 shmem_base, shmem2_base;
|
||||
|
|
|
|||
Loading…
Reference in a new issue