<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/atm/iphase.c, branch v2.6.30-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>atm: fix non-const printk argument</title>
<updated>2009-03-22T02:06:51+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2009-03-20T06:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8'/>
<id>32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8</id>
<content type='text'>
Change printk() argument to fix compiler warning.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change printk() argument to fix compiler warning.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>generic swap(): iphase: rename swap() to swap_byte_order()</title>
<updated>2009-01-08T16:31:14+00:00</updated>
<author>
<name>Wu Fengguang</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2009-01-08T02:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b67445fc17489fff5c8052147184e366abdb3d80'/>
<id>b67445fc17489fff5c8052147184e366abdb3d80</id>
<content type='text'>
In preparation for the introduction of a generic swap() macro.

Signed-off-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for the introduction of a generic swap() macro.

Signed-off-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>atm: fix direct casts of pointers to u32 in the InterPhase driver</title>
<updated>2008-07-30T23:33:05+00:00</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2008-07-30T23:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=849e8caa477d72cf153e5c0b6ce0c00b89738abb'/>
<id>849e8caa477d72cf153e5c0b6ce0c00b89738abb</id>
<content type='text'>
Fix direct casts of pointers to u32 in the InterPhase ATM driver.  These are
all arguments being passed to printk() calls.  So drop the cast and change the
%x to a %p.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix direct casts of pointers to u32 in the InterPhase ATM driver.  These are
all arguments being passed to printk() calls.  So drop the cast and change the
%x to a %p.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>atm: [iphase] 64-bit cleanup</title>
<updated>2008-06-17T23:21:18+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2008-06-17T23:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=97928f7021dc70f268037e9a7ea18a7345762fca'/>
<id>97928f7021dc70f268037e9a7ea18a7345762fca</id>
<content type='text'>
This fixes the most obvious 64-bit problems, but it is still very very
broken in other aspects.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the most obvious 64-bit problems, but it is still very very
broken in other aspects.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>atm: [iphase] move struct suni_priv to suni.h</title>
<updated>2008-06-17T23:18:49+00:00</updated>
<author>
<name>Jorge Boncompte [DTI2]</name>
<email>jorge@dti2.net</email>
</author>
<published>2008-06-17T23:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2be63b878f2a1e6d939b05f4f5cb733cb39bcd22'/>
<id>2be63b878f2a1e6d939b05f4f5cb733cb39bcd22</id>
<content type='text'>
Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>atm: [iphase] doesn't call phy-&gt;start due to a bogus #ifndef</title>
<updated>2008-06-17T00:16:35+00:00</updated>
<author>
<name>Jorge Boncompte [DTI2]</name>
<email>jorge@dti2.net</email>
</author>
<published>2008-06-17T00:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d6c1d704ab5d2e13bebb096e415156a9c54a3d32'/>
<id>d6c1d704ab5d2e13bebb096e415156a9c54a3d32</id>
<content type='text'>
This causes the suni driver to oops if you try to use sonetdiag to get
the statistics. Also add the corresponding phy-&gt;stop call to fix another
oops if you try to remove the module.

Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This causes the suni driver to oops if you try to use sonetdiag to get
the statistics. Also add the corresponding phy-&gt;stop call to fix another
oops if you try to remove the module.

Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>atm: [iphase] set drvdata before enabling interrupts</title>
<updated>2008-06-17T00:16:04+00:00</updated>
<author>
<name>Jorge Boncompte [DTI2]</name>
<email>jorge@dti2.net</email>
</author>
<published>2008-06-17T00:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c0ed0b60f2c36acfebb53384a3b24d13b3a09309'/>
<id>c0ed0b60f2c36acfebb53384a3b24d13b3a09309</id>
<content type='text'>
Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jorge Boncompte [DTI2] &lt;jorge@dti2.net&gt;
Signed-off-by: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/atm: use time_before, time_before_eq, etc</title>
<updated>2008-04-20T01:14:50+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2008-04-20T01:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=420635f517cf1bb8929caf80ce5a30e827b9df42'/>
<id>420635f517cf1bb8929caf80ce5a30e827b9df42</id>
<content type='text'>
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.

A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@ change_compare_np @
expression E;
@@

(
- jiffies &lt;= E
+ time_before_eq(jiffies,E)
|
- jiffies &gt;= E
+ time_after_eq(jiffies,E)
|
- jiffies &lt; E
+ time_before(jiffies,E)
|
- jiffies &gt; E
+ time_after(jiffies,E)
)

@ include depends on change_compare_np @
@@

#include &lt;linux/jiffies.h&gt;

@ no_include depends on !include &amp;&amp; change_compare_np @
@@

  #include &lt;linux/...&gt;
+ #include &lt;linux/jiffies.h&gt;
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.

A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@ change_compare_np @
expression E;
@@

(
- jiffies &lt;= E
+ time_before_eq(jiffies,E)
|
- jiffies &gt;= E
+ time_after_eq(jiffies,E)
|
- jiffies &lt; E
+ time_before(jiffies,E)
|
- jiffies &gt; E
+ time_after(jiffies,E)
)

@ include depends on change_compare_np @
@@

#include &lt;linux/jiffies.h&gt;

@ no_include depends on !include &amp;&amp; change_compare_np @
@@

  #include &lt;linux/...&gt;
+ #include &lt;linux/jiffies.h&gt;
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ATM] drivers/atm/iphase.c: compilation warning fix</title>
<updated>2008-04-02T07:03:00+00:00</updated>
<author>
<name>Leonardo Potenza</name>
<email>lpotenza@inwind.it</email>
</author>
<published>2008-04-02T07:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a22eb6faae4ec64d59cc206671eb0bfe46c5ffd2'/>
<id>a22eb6faae4ec64d59cc206671eb0bfe46c5ffd2</id>
<content type='text'>
Removed the warning messages:
drivers/atm/iphase.c:961: warning: 'tcnter' defined but not used
drivers/atm/iphase.c:963: warning: 'xdump' defined but not used

tcnter and xdump() are used only in debug build

Signed-off-by: Leonardo Potenza &lt;lpotenza@inwind.it&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed the warning messages:
drivers/atm/iphase.c:961: warning: 'tcnter' defined but not used
drivers/atm/iphase.c:963: warning: 'xdump' defined but not used

tcnter and xdump() are used only in debug build

Signed-off-by: Leonardo Potenza &lt;lpotenza@inwind.it&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ATM] drivers/atm/iphase.c: mostly kmalloc + memset conversion to kzalloc</title>
<updated>2007-08-14T05:52:13+00:00</updated>
<author>
<name>Mariusz Kozlowski</name>
<email>m.kozlowski@tuxland.pl</email>
</author>
<published>2007-08-10T22:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f71417614d63932cf56ed98a0947568d6259d11e'/>
<id>f71417614d63932cf56ed98a0947568d6259d11e</id>
<content type='text'>
 drivers/atm/iphase.c | 111508 -&gt; 111431 (-77 bytes)
 drivers/atm/iphase.o | 254740 -&gt; 254260 (-480 bytes)

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 drivers/atm/iphase.c | 111508 -&gt; 111431 (-77 bytes)
 drivers/atm/iphase.o | 254740 -&gt; 254260 (-480 bytes)

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
