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)
commitec8378bb4d8ebfaae035c0e949311f8efefc3a87
tree168f2ab5225e795bc106a0595b5e85a8a7fe4c4e
parent4e86d3cb7bbf41c99ce48e9dae69d9a779415f9b
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