dsa:mv88e6xxx: allow address 0x1 in smi_init
authorVolodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
Tue, 3 Jan 2017 09:49:09 +0000 (10:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2017 15:01:58 +0000 (10:01 -0500)
commit07b76ba9f827ffe8faebe78a98c96174a2538078
treeceaa7bc55ef35c7fed791a70f3f0ff3484ba9c5d
parent28fa4f308e44aeea41d2a69604f5e15dcf2aa93f
dsa:mv88e6xxx: allow address 0x1 in smi_init

Some devices, such as the mv88e6097 do have ADDR[0] external and so it
is possible to configure the device to use SMI address 0x1. Remove the
restriction, as there are boards using this address.

Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.se>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c