summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6352.c
diff options
context:
space:
mode:
authorGuenter Roeck2015-04-02 04:06:32 +0200
committerDavid S. Miller2015-04-02 04:55:40 +0200
commit14ef6ad22a2db28021e8ea8cd068fe5fcd88de7b (patch)
treed576cd58263861dcd59f0c09d2736082fa08cb05 /drivers/net/dsa/mv88e6352.c
parentnet: dsa: mv88e6131: Determine and use number of switch ports (diff)
downloadkernel-qcow2-linux-14ef6ad22a2db28021e8ea8cd068fe5fcd88de7b.tar.gz
kernel-qcow2-linux-14ef6ad22a2db28021e8ea8cd068fe5fcd88de7b.tar.xz
kernel-qcow2-linux-14ef6ad22a2db28021e8ea8cd068fe5fcd88de7b.zip
net: dsa: mv88e6123_61_65: Determine and use number of switch ports
Determine and use number of switch ports from chip ID instead of always using the maximum, and return error when an attempt is made to access a non-existing port. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6352.c')
0 files changed, 0 insertions, 0 deletions