<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/pcnet32.c, branch v2.6.27</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-05-26T06:26:10+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-05-26T06:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=43154d08d6bb5c69aa0d0e3448fb348b4cd84e91'/>
<id>43154d08d6bb5c69aa0d0e3448fb348b4cd84e91</id>
<content type='text'>
Conflicts:

	drivers/net/cpmac.c
	net/mac80211/mlme.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	drivers/net/cpmac.c
	net/mac80211/mlme.c
</pre>
</div>
</content>
</entry>
<entry>
<title>pcnet32: fix warning</title>
<updated>2008-05-22T10:03:29+00:00</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2008-05-14T23:20:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b166cfba01d62d04ae81ecce2d5dbe308db8083a'/>
<id>b166cfba01d62d04ae81ecce2d5dbe308db8083a</id>
<content type='text'>
pci_name() will be changed to return `const char *':

drivers/net/pcnet32.c: In function 'pcnet32_probe1':
drivers/net/pcnet32.c:1884: warning: passing argument 2 of 'pcnet32_alloc_ring' discards qualifiers from pointer target type

Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pci_name() will be changed to return `const char *':

drivers/net/pcnet32.c: In function 'pcnet32_probe1':
drivers/net/pcnet32.c:1884: warning: passing argument 2 of 'pcnet32_alloc_ring' discards qualifiers from pointer target type

Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-05-15T07:34:44+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-05-15T07:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=63fe46da9c380b3f2bbdf3765044649517cc717c'/>
<id>63fe46da9c380b3f2bbdf3765044649517cc717c</id>
<content type='text'>
Conflicts:

	drivers/net/wireless/iwlwifi/iwl-4965-rs.c
	drivers/net/wireless/rt2x00/rt61pci.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	drivers/net/wireless/iwlwifi/iwl-4965-rs.c
	drivers/net/wireless/rt2x00/rt61pci.c
</pre>
</div>
</content>
</entry>
<entry>
<title>[netdrvr] Trim trailing whitespace for several drivers</title>
<updated>2008-05-13T05:41:58+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2008-05-13T05:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7d2e3cb7000b883a8e489485ac249be572fe17b1'/>
<id>7d2e3cb7000b883a8e489485ac249be572fe17b1</id>
<content type='text'>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pcnet32: delete non NAPI code from driver.</title>
<updated>2008-05-06T16:22:39+00:00</updated>
<author>
<name>Don Fry</name>
<email>pcnet32@verizon.net</email>
</author>
<published>2008-04-29T20:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=01935d7d2c544a5dfc8313f79ed164d45115aa33'/>
<id>01935d7d2c544a5dfc8313f79ed164d45115aa33</id>
<content type='text'>
Delete the non-napi code from the driver and Kconfig.
Tested x86_64.  Apply at next open opportunity.

Signed-off-by: Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Delete the non-napi code from the driver and Kconfig.
Tested x86_64.  Apply at next open opportunity.

Signed-off-by: Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pcnet32: Use print_mac</title>
<updated>2008-02-11T15:28:31+00:00</updated>
<author>
<name>Don Fry</name>
<email>pcnet32@verizon.net</email>
</author>
<published>2008-02-08T15:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b3028cdc1859adf371f9457862e466f0e67f0b10'/>
<id>b3028cdc1859adf371f9457862e466f0e67f0b10</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Acked-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Acked-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pcnet32: use NET_IP_ALIGN instead of 2</title>
<updated>2008-02-11T15:28:30+00:00</updated>
<author>
<name>Don Fry</name>
<email>pcnet32@verizon.net</email>
</author>
<published>2008-02-08T15:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=232c56408861e666d2546960d1180eb2c65260bd'/>
<id>232c56408861e666d2546960d1180eb2c65260bd</id>
<content type='text'>
Change hard coded 2 to NET_IP_ALIGN.  Added new #define with comments.
Tested amd_64

Signed-off-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change hard coded 2 to NET_IP_ALIGN.  Added new #define with comments.
Tested amd_64

Signed-off-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN</title>
<updated>2008-01-28T23:03:36+00:00</updated>
<author>
<name>Alejandro Martinez Ruiz</name>
<email>alex@flawedcode.org</email>
</author>
<published>2007-10-18T08:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4c3616cdda0632a3d0e39069765f9ea0e6bd093e'/>
<id>4c3616cdda0632a3d0e39069765f9ea0e6bd093e</id>
<content type='text'>
Using ARRAY_SIZE() on arrays of the form array[][K] makes it unnecessary
to know the value of K when checking its size.

Signed-off-by: Alejandro Martinez Ruiz &lt;alex@flawedcode.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using ARRAY_SIZE() on arrays of the form array[][K] makes it unnecessary
to know the value of K when checking its size.

Signed-off-by: Alejandro Martinez Ruiz &lt;alex@flawedcode.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Fix drivers to handle napi_disable() disabling interrupts.</title>
<updated>2008-01-09T07:30:12+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-01-08T04:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d1d08d1265810ef1f165864850416dcbc9725ee7'/>
<id>d1d08d1265810ef1f165864850416dcbc9725ee7</id>
<content type='text'>
When we add the generic napi_disable_pending() breakout
logic to net_rx_action() it means that napi_disable()
can cause NAPI poll interrupt events to be disabled.

And this is exactly what we want.  If a napi_disable()
is pending, and we are looping in the -&gt;poll(), we want
-&gt;poll() event interrupts to stay disabled and we want
to complete the NAPI poll ASAP.

When -&gt;poll() break out during device down was being handled on a
per-driver basis, often these drivers would turn interrupts back on
when '!netif_running()' was detected.

And this would just cause a reschedule of the NAPI -&gt;poll() in the
interrupt handler before the napi_disable() could get in there and
grab the NAPI_STATE_SCHED bit.

The vast majority of drivers don't care if napi_disable() might have
the side effect of disabling NAPI -&gt;poll() event interrupts.  In all
such cases, when a napi_disable() is performed, the driver just
disabled interrupts or is about to.

However there were three exceptions to this in PCNET32, R8169, and
SKY2.  To fix those cases, at the subsequent napi_enable() points, I
added code to ensure that the -&gt;poll() interrupt events are enabled in
the hardware.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by:  Don Fry &lt;pcnet32@verizon.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we add the generic napi_disable_pending() breakout
logic to net_rx_action() it means that napi_disable()
can cause NAPI poll interrupt events to be disabled.

And this is exactly what we want.  If a napi_disable()
is pending, and we are looping in the -&gt;poll(), we want
-&gt;poll() event interrupts to stay disabled and we want
to complete the NAPI poll ASAP.

When -&gt;poll() break out during device down was being handled on a
per-driver basis, often these drivers would turn interrupts back on
when '!netif_running()' was detected.

And this would just cause a reschedule of the NAPI -&gt;poll() in the
interrupt handler before the napi_disable() could get in there and
grab the NAPI_STATE_SCHED bit.

The vast majority of drivers don't care if napi_disable() might have
the side effect of disabling NAPI -&gt;poll() event interrupts.  In all
such cases, when a napi_disable() is performed, the driver just
disabled interrupts or is about to.

However there were three exceptions to this in PCNET32, R8169, and
SKY2.  To fix those cases, at the subsequent napi_enable() points, I
added code to ensure that the -&gt;poll() interrupt events are enabled in
the hardware.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by:  Don Fry &lt;pcnet32@verizon.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pcnet32: remove private net_device_stats structure</title>
<updated>2007-10-18T00:23:30+00:00</updated>
<author>
<name>Don Fry</name>
<email>pcnet32@verizon.net</email>
</author>
<published>2007-10-18T00:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4f1e5ba0977570b7a198bb3ac110ccc5f532821b'/>
<id>4f1e5ba0977570b7a198bb3ac110ccc5f532821b</id>
<content type='text'>
Remove the statistics from the private structure.
Use the net_device_stats in netn_device structure.

Following Jeff Garzik's massive cleanup Sep 01.
pcnet32 was not "low-hanging fruit".

Tested x86_64.

Signed-off-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the statistics from the private structure.
Use the net_device_stats in netn_device structure.

Following Jeff Garzik's massive cleanup Sep 01.
pcnet32 was not "low-hanging fruit".

Tested x86_64.

Signed-off-by:  Don Fry &lt;pcnet32@verizon.net&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
