swconfig: Add cpu port index to help output.
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Apr 2010 19:32:40 +0000 (19:32 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Apr 2010 19:32:40 +0000 (19:32 +0000)
commit56f15bb5f9d1815311c5d511ae1a57d43f290e98
treec58ce83caf0b37bca1a0297d586b5b8ae5cd24e0
parent29b1cd327d3658f39af9db68943a6c205fac602d
swconfig: Add cpu port index to help output.

Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.

This could allow e.g. luci to get a rough overview of the layout of
the switch.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20939 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/swconfig/src/cli.c
package/swconfig/src/swlib.c
package/swconfig/src/swlib.h
target/linux/generic-2.6/files/drivers/net/phy/swconfig.c
target/linux/generic-2.6/files/include/linux/switch.h
This page took 0.030851 seconds and 4 git commands to generate.