<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/target/linux/ramips/files/drivers/net, branch toolchain-unstable</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>[ramips] move files to files-3.7</title>
<updated>2013-04-03T09:58:44+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-04-03T09:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=ed292123bc5c9a242273ad5e9251da05fc7377c6'/>
<id>ed292123bc5c9a242273ad5e9251da05fc7377c6</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36161 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36161 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[ramips] fix for non-blinking LAN LEDs</title>
<updated>2013-01-28T18:06:31+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-01-28T18:06:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=427ef7aa47ecfbb4b8961de4723a3d8b3e892ab2'/>
<id>427ef7aa47ecfbb4b8961de4723a3d8b3e892ab2</id>
<content type='text'>
https://dev.openwrt.org/ticket/12830

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://dev.openwrt.org/ticket/12830

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: ramips_eth: use Kconfig definition to enable debug</title>
<updated>2012-11-25T14:25:54+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-11-25T14:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=e6517134679cde8a81f7b0762c91527145d00908'/>
<id>e6517134679cde8a81f7b0762c91527145d00908</id>
<content type='text'>
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34332 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34332 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[ramips] move ethernet hw init to init/uninit functions</title>
<updated>2012-11-12T21:35:01+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-11-12T21:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=127682ebab01d720d5e90a6db1bb8a00036bcfef'/>
<id>127682ebab01d720d5e90a6db1bb8a00036bcfef</id>
<content type='text'>
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34177 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34177 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[ramips] add ethernet support for rt5350</title>
<updated>2012-09-25T14:47:08+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-09-25T14:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=e9a777ed10549776faa8db62ddef1e6ec83c310a'/>
<id>e9a777ed10549776faa8db62ddef1e6ec83c310a</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33548 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33548 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[ramips] make ramips ethernet use a register mapping table</title>
<updated>2012-09-25T14:46:58+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-09-25T14:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=90960d25b13cca9c2c76417355d9173ebb44d3aa'/>
<id>90960d25b13cca9c2c76417355d9173ebb44d3aa</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33547 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33547 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Add missing andmask to ramips_esw register read for recv_good value.</title>
<updated>2012-09-05T20:08:43+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-09-05T20:08:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=dddb52eedf108ca37e997ed0da29f2b79b1bb859'/>
<id>dddb52eedf108ca37e997ed0da29f2b79b1bb859</id>
<content type='text'>
Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.</title>
<updated>2012-09-05T20:08:42+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-09-05T20:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=07073dcb279d594ec5c2e5100152e3e5138c7341'/>
<id>07073dcb279d594ec5c2e5100152e3e5138c7341</id>
<content type='text'>
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Power down phy on disabled switch ports</title>
<updated>2012-08-29T10:37:45+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-08-29T10:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=2a86045d51df6e0893a4d8524c5ff454673b1b8c'/>
<id>2a86045d51df6e0893a4d8524c5ff454673b1b8c</id>
<content type='text'>
Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&amp;t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&amp;t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Rename POC registers</title>
<updated>2012-08-29T10:37:41+00:00</updated>
<author>
<name>juhosg</name>
<email>juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-08-29T10:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=4cf75bc115fb5fd204611f581dd126a9d74c374e'/>
<id>4cf75bc115fb5fd204611f581dd126a9d74c374e</id>
<content type='text'>
Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich &lt;ranma+openwrt@tdiedrich.de&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
