]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/vsc9953: Add commands to enable/disable HW learning
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Fri, 24 Jul 2015 13:55:30 +0000 (16:55 +0300)
committerYork Sun <yorksun@freescale.com>
Mon, 21 Sep 2015 15:29:47 +0000 (08:29 -0700)
commit68c929da6bf754ace639b2159e2d5b9e22323aaa
tree0c4be2ff82ca86a48eeaee9d330e5318202ad89a
parent86719f0cd55bc13186798217b08fa6a048eda27c
drivers/net/vsc9953: Add commands to enable/disable HW learning

The command:
ethsw [port <port_no>] learning { [help] | show | auto | disable }

can be used to enable/disable HW learning on a port.
This patch also adds this command to the generic ethsw parser from
cmd_ethsw.

Signed-off-by: Johnson Leung <johnson.leung@freescale.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
common/cmd_ethsw.c
drivers/net/vsc9953.c
include/ethsw.h
include/vsc9953.h