Home
last modified time | relevance | path

Searched hist:"4 ea54e3f2394cfca9ffaa14c181d2ae8a11677a8" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dethsw.h4ea54e3f2394cfca9ffaa14c181d2ae8a11677a8 Fri Jul 24 13:55:27 UTC 2015 Codrin Ciubotariu <codrin.ciubotariu@freescale.com> common/cmd_ethsw: Add generic commands for Ethernet Switches

This patch creates a flexible parser for Ethernet Switch
configurations that should support complex commands.
The parser searches for predefined keywords in the command
and calls the proper function when a match is found.
Also, the parser allows for optional keywords, such as
"port", to apply the command on a port
or on all ports. For now, the defined commands are:
ethsw [port <port_no>] { enable | disable | show }

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
/rk3399_rockchip-uboot/common/
H A DMakefile4ea54e3f2394cfca9ffaa14c181d2ae8a11677a8 Fri Jul 24 13:55:27 UTC 2015 Codrin Ciubotariu <codrin.ciubotariu@freescale.com> common/cmd_ethsw: Add generic commands for Ethernet Switches

This patch creates a flexible parser for Ethernet Switch
configurations that should support complex commands.
The parser searches for predefined keywords in the command
and calls the proper function when a match is found.
Also, the parser allows for optional keywords, such as
"port", to apply the command on a port
or on all ports. For now, the defined commands are:
ethsw [port <port_no>] { enable | disable | show }

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>