<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic/files/drivers/leds, branch reboot</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>ledtrig-netdev: don't stop timer on events for different interfaces</title>
<updated>2016-01-02T20:38:56+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2016-01-02T20:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b836a7c29d2717785524f94a7a1df3ae7bed8423'/>
<id>b836a7c29d2717785524f94a7a1df3ae7bed8423</id>
<content type='text'>
This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 48072
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 48072
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: add support for renamed devices</title>
<updated>2016-01-01T21:19:41+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-01-01T21:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=df165974c32a6ad2499b815d9d9f72b250d622f8'/>
<id>df165974c32a6ad2499b815d9d9f72b250d622f8</id>
<content type='text'>
The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin &lt;openwrt@kresin.me&gt;

SVN-Revision: 48048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin &lt;openwrt@kresin.me&gt;

SVN-Revision: 48048
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: reset link status &amp; stats after changing device_name</title>
<updated>2015-12-23T17:11:49+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-12-23T17:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e9e3a0682c509487bb606aad84d46eafad3f7233'/>
<id>e9e3a0682c509487bb606aad84d46eafad3f7233</id>
<content type='text'>
Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47990
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47990
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: drop locking from timer callback function</title>
<updated>2015-12-23T15:45:43+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-12-23T15:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=2b1129a7bafce7a6eb0ff8fd5d397cbbcc7c00ac'/>
<id>2b1129a7bafce7a6eb0ff8fd5d397cbbcc7c00ac</id>
<content type='text'>
We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47987
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47987
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: switch rwlock to spinlock</title>
<updated>2015-12-23T15:45:36+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-12-23T15:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a56aaf73b960c6735622a9f402d17d0c6b5a02ed'/>
<id>a56aaf73b960c6735622a9f402d17d0c6b5a02ed</id>
<content type='text'>
Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47986
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47986
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: update base driver instead of patching it for every kernel</title>
<updated>2015-12-23T10:17:09+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-12-23T10:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8996164e5665fbe08919fd7ebf850b082f4e347a'/>
<id>8996164e5665fbe08919fd7ebf850b082f4e347a</id>
<content type='text'>
All supported kernels require patching ledtrig-netdev in the same way,
so it's safe to just move these changes to the base version of this
driver. We needed these patches for some old kernels 2.6.36 and 3.11.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47962
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All supported kernels require patching ledtrig-netdev in the same way,
so it's safe to just move these changes to the base version of this
driver. We needed these patches for some old kernels 2.6.36 and 3.11.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47962
</pre>
</div>
</content>
</entry>
<entry>
<title>coding style cleanups, drop old kernel support</title>
<updated>2014-06-21T10:00:07+00:00</updated>
<author>
<name>Imre Kaloz</name>
<email>kaloz@openwrt.org</email>
</author>
<published>2014-06-21T10:00:07+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e1de4e27c12e352e6932f8001803373e00c0e18f'/>
<id>e1de4e27c12e352e6932f8001803373e00c0e18f</id>
<content type='text'>
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 41293
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 41293
</pre>
</div>
</content>
</entry>
<entry>
<title>we dont need 1024 bytes buffer. 128 bytes is enough.</title>
<updated>2011-06-09T07:08:54+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2011-06-09T07:08:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e3e2a170cd3f3254a82af0c43f91ad1281a8cac4'/>
<id>e3e2a170cd3f3254a82af0c43f91ad1281a8cac4</id>
<content type='text'>
SVN-Revision: 27143
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 27143
</pre>
</div>
</content>
</entry>
<entry>
<title>generic: add LED trigger for USB device presence/activity</title>
<updated>2010-12-17T17:10:11+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2010-12-17T17:10:11+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a059a11ee1e03c0cbe1dd400328b2d71820848d2'/>
<id>a059a11ee1e03c0cbe1dd400328b2d71820848d2</id>
<content type='text'>
SVN-Revision: 24646
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 24646
</pre>
</div>
</content>
</entry>
<entry>
<title>rename target/linux/generic-2.6 to generic</title>
<updated>2010-06-26T20:42:58+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-06-26T20:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=da1bb88a2b900f0392b731ec47c5e1bff956fd8f'/>
<id>da1bb88a2b900f0392b731ec47c5e1bff956fd8f</id>
<content type='text'>
SVN-Revision: 21952
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 21952
</pre>
</div>
</content>
</entry>
</feed>
