<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/etherswitch, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-06-06T10:07:57Z</updated>
<entry>
<title>Remove erroneous lock assertions</title>
<updated>2016-06-06T10:07:57Z</updated>
<author>
<name>Stanislav Galabov</name>
<email>sgalabov@FreeBSD.org</email>
</author>
<published>2016-06-06T10:07:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=86845464f0fc895709ab7bfa0b658db0fb67deea'/>
<id>urn:sha1:86845464f0fc895709ab7bfa0b658db0fb67deea</id>
<content type='text'>
In mediatek etherswitch support, functions mtkswitch_reg_write32_mt7621
and mtkswitch_reg_read32_mt7621 are called without locks held, so
lock assertions fail. Remove the lock assertions.

Sponsored by:	Smartcom - Bulgaria AD
</content>
</entry>
<entry>
<title>Fix issues with mt762x etherswitch driver</title>
<updated>2016-05-17T06:30:46Z</updated>
<author>
<name>Stanislav Galabov</name>
<email>sgalabov@FreeBSD.org</email>
</author>
<published>2016-05-17T06:30:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1027d6d672d4cdeb771014c1c5e51abb058baab5'/>
<id>urn:sha1:1027d6d672d4cdeb771014c1c5e51abb058baab5</id>
<content type='text'>
Fix issues that crept in with initial import.

Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D6393
</content>
</entry>
<entry>
<title>Introduce basic etherswitch support for Ralink SoCs</title>
<updated>2016-05-16T07:00:49Z</updated>
<author>
<name>Stanislav Galabov</name>
<email>sgalabov@FreeBSD.org</email>
</author>
<published>2016-05-16T07:00:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dfb5178f9bbdc1886adf41455c0380b48d221002'/>
<id>urn:sha1:dfb5178f9bbdc1886adf41455c0380b48d221002</id>
<content type='text'>
This revision introduces basic support for the internal ESW switch found
Ralink/Mediatek SoCs such as RT3050, RT3352, RT5350, MT7628; and GSW
found in MT7620 and MT7621.

It only supports 802.1q VLANs and doesn't support external PHYs at the
moment (only the ones that are built into the switch itself).

Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D6348
</content>
</entry>
<entry>
<title>sys/dev: minor spelling fixes.</title>
<updated>2016-05-03T03:41:25Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-03T03:41:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=453130d9bfc1c6d68b366dfcb041689d69f81295'/>
<id>urn:sha1:453130d9bfc1c6d68b366dfcb041689d69f81295</id>
<content type='text'>
Most affect comments, very few have user-visible effects.
</content>
</entry>
<entry>
<title>Cleanup unnecessary semicolons from the kernel.</title>
<updated>2016-04-10T23:07:00Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-10T23:07:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=74b8d63dcc17c07d8cb21e13f6db517698efd49f'/>
<id>urn:sha1:74b8d63dcc17c07d8cb21e13f6db517698efd49f</id>
<content type='text'>
Found with devel/coccinelle.
</content>
</entry>
<entry>
<title>[mdio] migrate mdiobus out of etherswitch and into a top-level device of its own.</title>
<updated>2015-12-26T02:31:39Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2015-12-26T02:31:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=71e8eac4fd89dedbcb4130379add151d3ed942fa'/>
<id>urn:sha1:71e8eac4fd89dedbcb4130379add151d3ed942fa</id>
<content type='text'>
The mdio driver interface is generally useful for devices that require
MDIO without the full MII bus interface. This lifts the driver/interface
out of etherswitch(4), and adds a mdio(4) man page.

Submitted by:	Landon Fuller &lt;landon@landonf.org&gt;
Differential Revision:	https://reviews.freebsd.org/D4606
</content>
</entry>
<entry>
<title>[arswitch] bump the number of ports on the ar934x internal switch.</title>
<updated>2015-12-15T04:46:48Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2015-12-15T04:46:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fd81a3291acc0a0397dc6bf21005029ba68fffad'/>
<id>urn:sha1:fd81a3291acc0a0397dc6bf21005029ba68fffad</id>
<content type='text'>
It indeed has more ports by default.
</content>
</entry>
<entry>
<title>Introduce e6000sw etherswitch support</title>
<updated>2015-10-25T22:14:04Z</updated>
<author>
<name>Zbigniew Bodek</name>
<email>zbb@FreeBSD.org</email>
</author>
<published>2015-10-25T22:14:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5420071d3939e016855c10ed1676dbee3fda030f'/>
<id>urn:sha1:5420071d3939e016855c10ed1676dbee3fda030f</id>
<content type='text'>
Add e6000sw driver supporting Marvell 88E6352, 88E6172, 88E6176 switches.
It needs to be attached to mdio interface, exporting SMI access
functionality. e6000sw supports port-based VLAN configuration, per-port
media changing, accessing PHY and switch registers.

e6000sw attaches miibuses and PHY drivers as children. Instead of typical
tick as callout, kthread-based tick is used. This combined with SX locks
allows MDIO read/write calls to sleep. It is expected, because this
hardware requires long delays in SMI read/write procedures, which can not
be handled by busy-waiting.

Reviewed by:    adrian
Obtained from:  Semihalf
Submitted by:   Bartosz Szczepanek &lt;bsz@semihalf.com&gt;
Differential revision: https://reviews.freebsd.org/D3902
</content>
</entry>
<entry>
<title>AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port</title>
<updated>2015-10-20T21:18:02Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2015-10-20T21:18:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8f1cf028d33ab9792277b4a30c1b1450da766839'/>
<id>urn:sha1:8f1cf028d33ab9792277b4a30c1b1450da766839</id>
<content type='text'>
I messed up when doing the reset_vlans method - setting vid[0] = 1 here
was making it 'hidden' from configuration (as it needed ETHERSWITCH_VID_VALID
as well) and so there was no way to configure vlangroup0.

In per-port VLAN mode, vlangroup0 is for the CPU port (port0).
Now, it normally wouldn't really matter - the CPU port thus sees
all other ports. However there are two CPU ports on the AR8327 and
so port0 (arge0) was seeing all traffic on port6 (arge1).
If you thus tried to use arge1/port6 for anything (eg a WAN port)
in a bridge group then things would very upset very quickly.

Whilst here, add a comment to remind myself that yes, it'd be nice
if we could specify a boot-time switch config.

Tested:

* AP135 reference platform w/ AR8327N switch
</content>
</entry>
<entry>
<title>Fix French typos in etherswitch.</title>
<updated>2015-04-18T07:34:39Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2015-04-18T07:34:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52f243678d00f8c8fe82d78afd8d93bb14eb901b'/>
<id>urn:sha1:52f243678d00f8c8fe82d78afd8d93bb14eb901b</id>
<content type='text'>
</content>
</entry>
</feed>
