History log of /freebsd-10.0-release/sbin/etherswitchcfg/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255734 20-Sep-2013 hiren

Improve grammar and readability.

Reviewed by: sbruno, loos
Approved by: re (gjb)


255730 20-Sep-2013 hiren

Fix a range check and a display string.

Reviewed by: loos
Approved by: sbruno (mentor, implicit)
Approved by: re (glebius)


255064 30-Aug-2013 pluknet

Typo in strtol(3).

Noticed by: bde


253569 23-Jul-2013 loos

Add a new flag (ETHERSWITCH_VID_VALID) to say what vlangroups are in use.
This fix the case when etherswitch is printing the information of port 0
vlan group (in port based vlan mode) with no member ports.

Add the ETHERSWITCH_VID_VALID support to ip17x driver.

Add the ETHERSWITCH_VID_VALID support to rt8366 driver.

arswitch doesn't need to be updated as it doesn't support vlans management
yet.

Approved by: adrian (mentor)


253568 23-Jul-2013 loos

Fix the usage error message. The valid range is up to max. vlan - 1 since vlangroups starts at 0.

Approved by: adrian (mentor)


250387 08-May-2013 joel

mdoc: new sentence, new line.


250382 08-May-2013 adrian

Add vlan configuration support to etherswitchcfg.

This adds the support to the config keyword (vlan operation mode), ports
flags, prints the vlan mode and vlan capabilities. It also adds some basic
information to usage() and support the keyword 'help' as a shortcut to
usage(). The manual page is also updated with the new options.

Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
Reviewed by: ray


249752 22-Apr-2013 adrian

Convert over the etherswitch framework to use VLAN IDs per port, rather
than VLAN groups.

Some chips (eg this rtl8366rb) has a VLAN group per port - you first
define a set of VLANs in a vlan group, then you assign a VLAN group
to a port.

Other chips (eg the AR8xxx switch chips) have a VLAN ID array per
port - there's no group per se, just a list of vlans that can be
configured.

So for now, the switch API will use the latter and rely on drivers
doing the heavy lifting if one wishes to use the VLAN group method.
Maybe later on both can be supported.

PR: kern/177878
PR: kern/177873
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
Reviewed by: ray


249748 22-Apr-2013 adrian

etherswitchcfg(8) crashes when you don't set vlangroup members.
Fix this to require an argument.

PR: kern/177872
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>


249747 22-Apr-2013 adrian

Initialise this to zero before using it to configure the vlangroup
information.

PR: kern/177871
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>


241720 19-Oct-2012 ed

Fix warnings found by -Wmising-variable-declarations.

This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about potentially missing
`static' keywords, similar to -Wmissing-prototypes.

- bin/pax: Move external declaration of chdname and s_mask into extern.h.
- bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h.
- sbin/mount_fusefs: Remove char *progname; use getprogname().
- others: add `static' where possible.


235873 24-May-2012 wblock

Fixes to man8 groff mandoc style, usage mistakes, or typos.

PR: 168016
Submitted by: Nobuyuki Koganemaru
Approved by: gjb
MFC after: 3 days


235355 12-May-2012 joel

Remove end of line whitespace.


235289 11-May-2012 adrian

Add etherswitchcfg.

Submitted by: Stefan Bethke <stb@lassitu.de>