<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/net/smc911x.c, branch v2.6.29.4</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.29.4</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.29.4'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2009-02-03T05:39:02+00:00</updated>
<entry>
<title>net: variables reach -1, but 0 tested</title>
<updated>2009-02-03T05:39:02+00:00</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-02-03T05:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=46578a6913e6f5e69229561736b94c18c2e88ae4'/>
<id>urn:sha1:46578a6913e6f5e69229561736b94c18c2e88ae4</id>
<content type='text'>
while (timeout--) { ... }

timeout becomes -1 if the loop isn't ended otherwise, not 0.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net/smc911x.c: smc911x_drv_probe() cleanup</title>
<updated>2008-12-04T05:05:49+00:00</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2008-12-01T12:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a316084c2f18fd5371f81cfcfc8348a71c4a6fe8'/>
<id>urn:sha1:a316084c2f18fd5371f81cfcfc8348a71c4a6fe8</id>
<content type='text'>
Save an ugly ifdef.

Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-12-03T03:50:27+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-12-03T03:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=aa2ba5f1082dc705745899584aac8416d710c056'/>
<id>urn:sha1:aa2ba5f1082dc705745899584aac8416d710c056</id>
<content type='text'>
Conflicts:

	drivers/net/ixgbe/ixgbe_main.c
	drivers/net/smc91x.c
</content>
</entry>
<entry>
<title>section errors in smc911x/smc91x</title>
<updated>2008-11-30T18:03:37+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2008-11-22T17:36:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f57628d76bd201a444ca822f3622522a44acbf60'/>
<id>urn:sha1:f57628d76bd201a444ca822f3622522a44acbf60</id>
<content type='text'>
a) -&gt;probe() can be __devinit; no need to put it into .text
 b) calling __init stuff from it, OTOH, is wrong
 c) -&gt;remove() is __devexit fodder

Acked-by: rmk+kernel@arm.linux.org.uk
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-11-21T00:44:00+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-11-21T00:44:00+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6ab33d51713d6d60c7677c0d020910a8cb37e513'/>
<id>urn:sha1:6ab33d51713d6d60c7677c0d020910a8cb37e513</id>
<content type='text'>
Conflicts:

	drivers/net/ixgbe/ixgbe_main.c
	include/net/mac80211.h
	net/phonet/af_phonet.c
</content>
</entry>
<entry>
<title>smc911x: Fix printf format typo in smc911x driver.</title>
<updated>2008-11-20T09:56:08+00:00</updated>
<author>
<name>Vernon Sauder</name>
<email>VernonInHand@gmail.com</email>
</author>
<published>2008-11-20T09:56:08+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=eafdcb433f854c8cb06747a80fa3df7c72147be6'/>
<id>urn:sha1:eafdcb433f854c8cb06747a80fa3df7c72147be6</id>
<content type='text'>
Signed-off-by: Vernon Sauder &lt;VernonInHand@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-11-19T07:38:23+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-11-19T07:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=198d6ba4d7f48c94f990f4604f0b3d73925e0ded'/>
<id>urn:sha1:198d6ba4d7f48c94f990f4604f0b3d73925e0ded</id>
<content type='text'>
Conflicts:

	drivers/isdn/i4l/isdn_net.c
	fs/cifs/connect.c
</content>
</entry>
<entry>
<title>[netdrvr] smc911x: fix for driver resume (and compilation warning)</title>
<updated>2008-11-11T08:53:15+00:00</updated>
<author>
<name>Dasgupta, Romit</name>
<email>romit@ti.com</email>
</author>
<published>2008-11-06T10:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=347c8d83cd9f546a8357e1ab12fa6867707975d8'/>
<id>urn:sha1:347c8d83cd9f546a8357e1ab12fa6867707975d8</id>
<content type='text'>
I am trying out suspend, resume on an OMAP3 based board. What I see
during resume is that the SMC911x driver resume routing gets stuck
after trying to transmit the packet out of the controller. Some debug
messages below:

--&gt; smc911x_drv_resume
eth0: --&gt; smc911x_reset
eth0: smc911x_reset timeout waiting for PM restore
eth0: --&gt; smc911x_enable
eth0: --&gt; smc911x_phy_configure()
eth0: --&gt; smc911x_phy_reset()
eth0: phy caps=0x782d
eth0: phy advertised caps=0x0de1
eth0: --&gt; smc911x_phy_check_media
smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809
smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809
eth0: link down
Restarting tasks ... eth0: --&gt; smc911x_hard_start_xmit
eth0: --&gt; smc911x_hardware_send_pkt
eth0: --&gt; smc911x_hard_start_xmit
eth0: --&gt; smc911x_hardware_send_pkt
eth0: --&gt; smc911x_hard_start_xmit
eth0: --&gt; smc911x_hardware_send_pkt
nfs: server 172.24.190.217 not responding, still trying
nfs: server 172.24.190.217 not responding, still trying

The following change makes it work fine: (The change within
smc911x_drv_probe function was to get rid of a compilation warning).

Signed-off-by: Romit Dasgupta &lt;romit@ti.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-11-07T06:43:03+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-11-07T06:43:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9eeda9abd1faf489f3df9a1f557975f4c8650363'/>
<id>urn:sha1:9eeda9abd1faf489f3df9a1f557975f4c8650363</id>
<content type='text'>
Conflicts:

	drivers/net/wireless/ath5k/base.c
	net/8021q/vlan_core.c
</content>
</entry>
<entry>
<title>drivers/net: Kill now superfluous -&gt;last_rx stores.</title>
<updated>2008-11-04T05:11:17+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-11-04T05:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=babcda74e9d96bb58fd9c6c5112dbdbff169e695'/>
<id>urn:sha1:babcda74e9d96bb58fd9c6c5112dbdbff169e695</id>
<content type='text'>
The generic packet receive code takes care of setting
netdev-&gt;last_rx when necessary, for the sake of the
bonding ARP monitor.

Drivers need not do it any more.

Some cases had to be skipped over because the drivers
were making use of the -&gt;last_rx value themselves.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
