commit | c857486a4b6d5c9250832315341e5889fdcb03c3 | [log] [tgz] |
---|---|---|
author | Hubert Feurstein <h.feurstein@gmail.com> | Wed Jul 31 10:23:48 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 02 17:58:53 2019 -0700 |
tree | 4dc1c38e6b26c7ee8a8400400275bfd0e88ab7dc | |
parent | 83c5ee315f73048d0c06c5736eb8ffe4ded2b7cc [diff] |
net: dsa: mv88e6xxx: introduce invalid_port_mask in mv88e6xxx_info With this it is possible to mark certain chip ports as invalid. This is required for example for the MV88E6220 (which is in general a MV88E6250 with 7 ports) but the ports 2-4 are not routed to pins. If a user configures an invalid port, an error is returned. Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>