<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/vsc9953.h, branch v2016.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>drivers/net/vsc9953: Add GPL-2.0+ SPDX-License-Identifier</title>
<updated>2015-09-21T15:29:48+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a857d5f835c53f7b66de61b19120ea1188e94999'/>
<id>a857d5f835c53f7b66de61b19120ea1188e94999</id>
<content type='text'>
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add command for shared/private VLAN learning</title>
<updated>2015-09-21T15:29:48+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=21d214fcd0a12c75ebb9c675f0f07b8e69f6cb44'/>
<id>21d214fcd0a12c75ebb9c675f0f07b8e69f6cb44</id>
<content type='text'>
The command:
ethsw vlan fdb { [help] | show | shared | private }
 - make VLAN learning shared or private"

configures the FDB to share the FDB entries learned on multiple VLANs
or to keep them separated. By default, the FBD uses private VLAN
learning. This command has also been added to the ethsw generic parser
from common/cmd_ethsw.c

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The command:
ethsw vlan fdb { [help] | show | shared | private }
 - make VLAN learning shared or private"

configures the FDB to share the FDB entries learned on multiple VLANs
or to keep them separated. By default, the FBD uses private VLAN
learning. This command has also been added to the ethsw generic parser
from common/cmd_ethsw.c

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add VLAN commands for VSC9953</title>
<updated>2015-09-21T15:29:48+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a2477924cd302cfae730ebefb431814eb99ad861'/>
<id>a2477924cd302cfae730ebefb431814eb99ad861</id>
<content type='text'>
The new added commands can be used to configure VLANs for a port
on both ingress and egress.

The new commands are:
ethsw [port &lt;port_no&gt;] pvid { [help] | show | &lt;pvid&gt; }
 - set/show PVID (ingress and egress VLAN tagging) for a port;
ethsw [port &lt;port_no&gt;] vlan { [help] | show | add &lt;vid&gt; | del &lt;vid&gt; }
 - add a VLAN to a port (VLAN members);
ethsw [port &lt;port_no&gt;] untagged { [help] | show | all | none | pvid }
 - set egress tagging mod for a port"
ethsw [port &lt;port_no&gt;] egress tag { [help] | show | pvid | classified }
 - Configure VID source for egress tag. Tag's VID could be the
   frame's classified VID or the PVID of the port
These commands have also been added to the ethsw generic parser from
common/cmd_ethsw.c

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new added commands can be used to configure VLANs for a port
on both ingress and egress.

The new commands are:
ethsw [port &lt;port_no&gt;] pvid { [help] | show | &lt;pvid&gt; }
 - set/show PVID (ingress and egress VLAN tagging) for a port;
ethsw [port &lt;port_no&gt;] vlan { [help] | show | add &lt;vid&gt; | del &lt;vid&gt; }
 - add a VLAN to a port (VLAN members);
ethsw [port &lt;port_no&gt;] untagged { [help] | show | all | none | pvid }
 - set egress tagging mod for a port"
ethsw [port &lt;port_no&gt;] egress tag { [help] | show | pvid | classified }
 - Configure VID source for egress tag. Tag's VID could be the
   frame's classified VID or the PVID of the port
These commands have also been added to the ethsw generic parser from
common/cmd_ethsw.c

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953</title>
<updated>2015-09-21T15:29:47+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-09-09T15:00:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=22449858f8eae3f03399f76b4a982dd2f0d4df00'/>
<id>22449858f8eae3f03399f76b4a982dd2f0d4df00</id>
<content type='text'>
The new command:
ethsw [port &lt;port_no&gt;] [vlan &lt;vid&gt;] fdb
        { [help] | show | flush | { add | del } &lt;mac&gt; }

Can be used to add and delete FDB entries. Also, the command can be used
to show entries from the FDB tables. When used with [port &lt;port_no&gt;]
and [vlan &lt;vid&gt;], only the matching the FDB entries can be seen or
flushed. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new command:
ethsw [port &lt;port_no&gt;] [vlan &lt;vid&gt;] fdb
        { [help] | show | flush | { add | del } &lt;mac&gt; }

Can be used to add and delete FDB entries. Also, the command can be used
to show entries from the FDB tables. When used with [port &lt;port_no&gt;]
and [vlan &lt;vid&gt;], only the matching the FDB entries can be seen or
flushed. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add commands to enable/disable HW learning</title>
<updated>2015-09-21T15:29:47+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68c929da6bf754ace639b2159e2d5b9e22323aaa'/>
<id>68c929da6bf754ace639b2159e2d5b9e22323aaa</id>
<content type='text'>
The command:
ethsw [port &lt;port_no&gt;] learning { [help] | show | auto | disable }

can be used to enable/disable HW learning on a port.
This patch also adds this command to the generic ethsw parser from
cmd_ethsw.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The command:
ethsw [port &lt;port_no&gt;] learning { [help] | show | auto | disable }

can be used to enable/disable HW learning on a port.
This patch also adds this command to the generic ethsw parser from
cmd_ethsw.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add command to show/clear port counters</title>
<updated>2015-09-21T15:29:47+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86719f0cd55bc13186798217b08fa6a048eda27c'/>
<id>86719f0cd55bc13186798217b08fa6a048eda27c</id>
<content type='text'>
The new added command:
ethsw [port &lt;port_no&gt;] statistics { [help] | [clear] }

will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
This patch also adds this commnd in the genereric ethsw
parser from cmd_ethsw.c

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new added command:
ethsw [port &lt;port_no&gt;] statistics { [help] | [clear] }

will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
This patch also adds this commnd in the genereric ethsw
parser from cmd_ethsw.c

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Add default configuration for VSC9953 L2 Switch</title>
<updated>2015-09-21T15:29:46+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9de059871f8364dd898faf0b6057b8fa69fa2728'/>
<id>9de059871f8364dd898faf0b6057b8fa69fa2728</id>
<content type='text'>
At startup, the default configuration should be:
 - enable HW learning on all ports (HW default);
 - all ports are VLAN aware;
 - all ports are members of VLAN 1;
 - all ports have Port-based VLAN 1;
 - on all ports, the switch is allowed to remove
   maximum one VLAN tag,
 - on egress, the switch should add a VLAN tag if the
   frame is classified to a different VLAN than the port's
   Port-based VLAN;

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At startup, the default configuration should be:
 - enable HW learning on all ports (HW default);
 - all ports are VLAN aware;
 - all ports are members of VLAN 1;
 - all ports have Port-based VLAN 1;
 - on all ports, the switch is allowed to remove
   maximum one VLAN tag,
 - on egress, the switch should add a VLAN tag if the
   frame is classified to a different VLAN than the port's
   Port-based VLAN;

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Fix missing reserved register</title>
<updated>2015-09-21T15:29:46+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=440873dfc44eec4f92c482068c8be4c9f900032f'/>
<id>440873dfc44eec4f92c482068c8be4c9f900032f</id>
<content type='text'>
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.

Signed-off-by: Johnson Leung &lt;johnson.leung@freescale.com&gt;
Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Fix bug when enabling a port</title>
<updated>2015-09-21T15:29:46+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:52:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fe91095b799d21428bd39392650ca0b06789776e'/>
<id>fe91095b799d21428bd39392650ca0b06789776e</id>
<content type='text'>
When a port is enabled at init time, the initializing function
touches more bits than necessary to enable a port (also touches
reserved bits and default bit values). This patch fixes this issue
by changing the value of the define used to enable the port and
assures that no other bits are changes by replacing out_le32()
with setbits_le32().

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a port is enabled at init time, the initializing function
touches more bits than necessary to enable a port (also touches
reserved bits and default bit values). This patch fixes this issue
by changing the value of the define used to enable the port and
assures that no other bits are changes by replacing out_le32()
with setbits_le32().

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/vsc9953: Cleanup patch</title>
<updated>2015-09-21T15:29:46+00:00</updated>
<author>
<name>Codrin Ciubotariu</name>
<email>codrin.ciubotariu@freescale.com</email>
</author>
<published>2015-07-24T13:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3cc8cfffb21b618a51a51e746aac709a12540b79'/>
<id>3cc8cfffb21b618a51a51e746aac709a12540b79</id>
<content type='text'>
This patch groups some macros defined for registers and
replaces some magic numbers from vsc9953 with macros. Also,
"port" and "port_nr" words are replaced with "port_no",
puts each variable declaration on a line and removes
unnecessary tabs.

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch groups some macros defined for registers and
replaces some magic numbers from vsc9953 with macros. Also,
"port" and "port_nr" words are replaced with "port_no",
puts each variable declaration on a line and removes
unnecessary tabs.

Signed-off-by: Codrin Ciubotariu &lt;codrin.ciubotariu@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
