]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: 6161 uses global 2 for PHY access
authorAndrew Lunn <andrew@lunn.ch>
Fri, 2 Jun 2017 21:22:45 +0000 (23:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 01:34:17 +0000 (21:34 -0400)
commit148cc1f47940d6204820ff30d94f7a7bbd5b2d93
tree168f2ab5225e795bc106a0595b5e85a8a7fe4c4e
parent56338b2fb664c4b0fdbb1989a5680db61b10d7d7
net: dsa: mv88e6xxx: 6161 uses global 2 for PHY access

Access to the internal PHYs of the 6161 and 6123 go through global 2
SMI registers. Fix the ops structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c