summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-23 19:04:18 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-23 19:04:18 -0800
commit8ffbaca9efcee5c29a2d73b92a71d03359de48b1 (patch)
tree38bed57c40d11c09398004f29e40f3fb827d1eb7 /templates/interfaces/ethernet
parentd23b5fb020689aae6ae1407cbaaf713084072ddc (diff)
downloadvyatta-cfg-8ffbaca9efcee5c29a2d73b92a71d03359de48b1.tar.gz
vyatta-cfg-8ffbaca9efcee5c29a2d73b92a71d03359de48b1.zip
allow setting 2500 or 10000 speeddebian/0.1
Ethtool allows setting speed of 2.5Gb or 10Gb on devices that support it. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r--templates/interfaces/ethernet/node.tag/speed/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def
index bff2f08..652e498 100644
--- a/templates/interfaces/ethernet/node.tag/speed/node.def
+++ b/templates/interfaces/ethernet/node.tag/speed/node.def
@@ -1,7 +1,7 @@
type: txt
help: "Set the speed for this interface"
default: "auto"
-syntax: $(@) in "auto", "10", "100", "1000"; "Speed must be auto, 10, 100, or 1000"
+syntax: $(@) in "auto", "10", "100", "1000", "2500", "10000"; "Speed must be auto, 10, 100, 1000, 2500, or 10000"
commit: exec "if [ x$(@) != xauto ]; then \
if [ x$(../duplex/@) == xauto ]; then \
exit 1; \