<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/natsemi.c, branch v3.0.88</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>natsemi: fix another dma-debug report</title>
<updated>2011-07-10T14:07:40+00:00</updated>
<author>
<name>Jim Cromie</name>
<email>jim.cromie@gmail.com</email>
</author>
<published>2011-07-10T14:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff1817749f0405c019420fcb415ad20fedec7884'/>
<id>ff1817749f0405c019420fcb415ad20fedec7884</id>
<content type='text'>
commit 2fb83cd618be34546fb526a9051eceaa95517026
Author: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Date:   Sun Jul 3 22:34:29 2011 -0700

Above commit fixed previously reported warning, but I later
noticed another one at shutdown.  This commit fixes it.

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820 check_unmap+0x1fe/0x56c()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with different size [device address=0x0000000007356840] [map size=1538 bytes] [unmap size=1522 bytes]
Modules linked in: bridge stp llc x_tables ipv6 pc87360 hwmon_vid scx200_hrt pc8736x_gpio scx200_gpio nsc_gpio scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6 cfg80211 pcspkr scx200 rfkill ide_gd_mod ide_pci_generic ohci_hcd usbcore sc1200 ide_core [last unloaded: ebtables]
Pid: 3996, comm: ifconfig Not tainted 3.0.0-rc6-skc-dyndbg+ #104
Call Trace:
 [&lt;c011ca97&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c0261ca5&gt;] ? check_unmap+0x1fe/0x56c
 [&lt;c011cb10&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c0261ca5&gt;] check_unmap+0x1fe/0x56c
 [&lt;c0116505&gt;] ? check_preempt_curr+0x5a/0x6a
 [&lt;c0262186&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c02aaaf9&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c02aab51&gt;] drain_rx+0x4e/0x74
 [&lt;c02acc6e&gt;] netdev_close+0x103/0x1b8
 [&lt;c02f097e&gt;] ? spin_unlock_bh.clone.30+0x12/0x14
 [&lt;c02f10aa&gt;] ? dev_deactivate_many+0xc1/0xef
 [&lt;c02e05e9&gt;] __dev_close_many+0x69/0x86
 [&lt;c02e0625&gt;] __dev_close+0x1f/0x2c
 [&lt;c02e3200&gt;] __dev_change_flags+0x92/0x107
 [&lt;c02e32db&gt;] dev_change_flags+0x13/0x3f
 [&lt;c031e7ea&gt;] devinet_ioctl+0x248/0x4b3
 [&lt;c02e3a9e&gt;] ? dev_ioctl+0x50a/0x54c
 [&lt;c031f509&gt;] inet_ioctl+0x8e/0xa7
 [&lt;c02d506f&gt;] sock_ioctl+0x1b6/0x1da
 [&lt;c02d4eb9&gt;] ? sock_fasync+0x61/0x61
 [&lt;c0183db4&gt;] do_vfs_ioctl+0x44d/0x47f
 [&lt;c0113cdb&gt;] ? do_page_fault+0x268/0x299
 [&lt;c01339d0&gt;] ? __put_cred+0x34/0x36
 [&lt;c0177d83&gt;] ? sys_faccessat+0x13e/0x14b
 [&lt;c0183e14&gt;] sys_ioctl+0x2e/0x4a
 [&lt;c035bc95&gt;] syscall_call+0x7/0xb
---[ end trace 7013a1bdac403e56 ]---

Signed-off-by: Jim Cromie &lt;jim.cromie@gmail.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>
commit 2fb83cd618be34546fb526a9051eceaa95517026
Author: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Date:   Sun Jul 3 22:34:29 2011 -0700

Above commit fixed previously reported warning, but I later
noticed another one at shutdown.  This commit fixes it.

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820 check_unmap+0x1fe/0x56c()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with different size [device address=0x0000000007356840] [map size=1538 bytes] [unmap size=1522 bytes]
Modules linked in: bridge stp llc x_tables ipv6 pc87360 hwmon_vid scx200_hrt pc8736x_gpio scx200_gpio nsc_gpio scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6 cfg80211 pcspkr scx200 rfkill ide_gd_mod ide_pci_generic ohci_hcd usbcore sc1200 ide_core [last unloaded: ebtables]
Pid: 3996, comm: ifconfig Not tainted 3.0.0-rc6-skc-dyndbg+ #104
Call Trace:
 [&lt;c011ca97&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c0261ca5&gt;] ? check_unmap+0x1fe/0x56c
 [&lt;c011cb10&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c0261ca5&gt;] check_unmap+0x1fe/0x56c
 [&lt;c0116505&gt;] ? check_preempt_curr+0x5a/0x6a
 [&lt;c0262186&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c02aaaf9&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c02aab51&gt;] drain_rx+0x4e/0x74
 [&lt;c02acc6e&gt;] netdev_close+0x103/0x1b8
 [&lt;c02f097e&gt;] ? spin_unlock_bh.clone.30+0x12/0x14
 [&lt;c02f10aa&gt;] ? dev_deactivate_many+0xc1/0xef
 [&lt;c02e05e9&gt;] __dev_close_many+0x69/0x86
 [&lt;c02e0625&gt;] __dev_close+0x1f/0x2c
 [&lt;c02e3200&gt;] __dev_change_flags+0x92/0x107
 [&lt;c02e32db&gt;] dev_change_flags+0x13/0x3f
 [&lt;c031e7ea&gt;] devinet_ioctl+0x248/0x4b3
 [&lt;c02e3a9e&gt;] ? dev_ioctl+0x50a/0x54c
 [&lt;c031f509&gt;] inet_ioctl+0x8e/0xa7
 [&lt;c02d506f&gt;] sock_ioctl+0x1b6/0x1da
 [&lt;c02d4eb9&gt;] ? sock_fasync+0x61/0x61
 [&lt;c0183db4&gt;] do_vfs_ioctl+0x44d/0x47f
 [&lt;c0113cdb&gt;] ? do_page_fault+0x268/0x299
 [&lt;c01339d0&gt;] ? __put_cred+0x34/0x36
 [&lt;c0177d83&gt;] ? sys_faccessat+0x13e/0x14b
 [&lt;c0183e14&gt;] sys_ioctl+0x2e/0x4a
 [&lt;c035bc95&gt;] syscall_call+0x7/0xb
---[ end trace 7013a1bdac403e56 ]---

Signed-off-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/natsemi: Fix module parameter permissions</title>
<updated>2011-07-08T16:05:20+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2011-07-07T23:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b1f524e36cb691d20bfdaee423977f1decb81cf6'/>
<id>b1f524e36cb691d20bfdaee423977f1decb81cf6</id>
<content type='text'>
The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:

$ ls -l /sys/module/natsemi/parameters/
total 0
---------x 1 root root 4096 Jul  8 09:46 dspcfg_workaround

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Tim Hockin &lt;thockin@hockin.org&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.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>
The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:

$ ls -l /sys/module/natsemi/parameters/
total 0
---------x 1 root root 4096 Jul  8 09:46 dspcfg_workaround

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Tim Hockin &lt;thockin@hockin.org&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>natsemi: silence dma-debug warnings</title>
<updated>2011-07-04T05:34:29+00:00</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2011-07-04T05:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2fb83cd618be34546fb526a9051eceaa95517026'/>
<id>2fb83cd618be34546fb526a9051eceaa95517026</id>
<content type='text'>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.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>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ethtool: cosmetic: Use ethtool ethtool_cmd_speed API</title>
<updated>2011-04-29T21:03:01+00:00</updated>
<author>
<name>David Decotigny</name>
<email>decot@google.com</email>
</author>
<published>2011-04-27T18:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=707394972093e2056e1e8cc39be19cf9bcb3e7b3'/>
<id>707394972093e2056e1e8cc39be19cf9bcb3e7b3</id>
<content type='text'>
This updates the network drivers so that they don't access the
ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
instead.

For most of the drivers, these changes are purely cosmetic and don't
fix any problem, such as for those 1GbE/10GbE drivers that indirectly
call their own ethtool get_settings()/mii_ethtool_gset(). The changes
are meant to enforce code consistency and provide robustness with
future larger throughputs, at the expense of a few CPU cycles for each
ethtool operation.

All drivers compiled with make allyesconfig ion x86_64 have been
updated.

Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
Signed-off-by: David Decotigny &lt;decot@google.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>
This updates the network drivers so that they don't access the
ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
instead.

For most of the drivers, these changes are purely cosmetic and don't
fix any problem, such as for those 1GbE/10GbE drivers that indirectly
call their own ethtool get_settings()/mii_ethtool_gset(). The changes
are meant to enforce code consistency and provide robustness with
future larger throughputs, at the expense of a few CPU cycles for each
ethtool operation.

All drivers compiled with make allyesconfig ion x86_64 have been
updated.

Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ethtool: Use full 32 bit speed range in ethtool's set_settings</title>
<updated>2011-04-29T21:03:00+00:00</updated>
<author>
<name>David Decotigny</name>
<email>decot@google.com</email>
</author>
<published>2011-04-27T18:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25db0338813a8915457636b1f6abe6a28fa73f8d'/>
<id>25db0338813a8915457636b1f6abe6a28fa73f8d</id>
<content type='text'>
This makes sure the ethtool's set_settings() callback of network
drivers don't ignore the 16 most significant bits when ethtool calls
their set_settings().

All drivers compiled with make allyesconfig on x86_64 have been
updated.

Signed-off-by: David Decotigny &lt;decot@google.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>
This makes sure the ethtool's set_settings() callback of network
drivers don't ignore the 16 most significant bits when ethtool calls
their set_settings().

All drivers compiled with make allyesconfig on x86_64 have been
updated.

Signed-off-by: David Decotigny &lt;decot@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/natsami: store MAC into perm_addr</title>
<updated>2011-04-12T21:56:00+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-04-12T05:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3d894a9c1959acaa6981283619b465f75f7e535e'/>
<id>3d894a9c1959acaa6981283619b465f75f7e535e</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&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: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23+00:00</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net: Remove address use from assignments of function pointers</title>
<updated>2010-08-25T22:35:43+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-08-23T18:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c061b18df0f1fe3f50fe451dbbdc9ede3c19701a'/>
<id>c061b18df0f1fe3f50fe451dbbdc9ede3c19701a</id>
<content type='text'>
"foo = &amp;function" is more commonly written "foo = function"

Done with coccinelle script:

// &lt;smpl&gt;
@r@
identifier f;
@@

f(...) { ... }

@@
identifier r.f;
@@

- &amp;f
+ f
// &lt;/smpl&gt;

drivers/net/tehuti.c used a function and struct with the
same name, the function was renamed.

Compile tested x86 only.

Signed-off-by: Joe Perches &lt;joe@perches.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>
"foo = &amp;function" is more commonly written "foo = function"

Done with coccinelle script:

// &lt;smpl&gt;
@r@
identifier f;
@@

f(...) { ... }

@@
identifier r.f;
@@

- &amp;f
+ f
// &lt;/smpl&gt;

drivers/net/tehuti.c used a function and struct with the
same name, the function was renamed.

Compile tested x86 only.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>natsemi: Use the instance of net_device_stats from net_device.</title>
<updated>2010-07-06T02:41:17+00:00</updated>
<author>
<name>Kulikov Vasiliy</name>
<email>segooon@gmail.com</email>
</author>
<published>2010-07-05T02:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2321e80ac84cc616edda926aa1932b344409dccc'/>
<id>2321e80ac84cc616edda926aa1932b344409dccc</id>
<content type='text'>
Since net_device has an instance of net_device_stats,
we can remove the instance of this from the adapter structure.

Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.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>
Since net_device has an instance of net_device_stats,
we can remove the instance of this from the adapter structure.

Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: trans_start cleanups</title>
<updated>2010-05-10T12:01:31+00:00</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2010-05-10T12:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1ae5dc342ac78d7a42965fd1f323815f6f5ef2c1'/>
<id>1ae5dc342ac78d7a42965fd1f323815f6f5ef2c1</id>
<content type='text'>
Now that core network takes care of trans_start updates, dont do it
in drivers themselves, if possible. Drivers can avoid one cache miss
(on dev-&gt;trans_start) in their start_xmit() handler.

Exceptions are NETIF_F_LLTX drivers

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.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>
Now that core network takes care of trans_start updates, dont do it
in drivers themselves, if possible. Drivers can avoid one cache miss
(on dev-&gt;trans_start) in their start_xmit() handler.

Exceptions are NETIF_F_LLTX drivers

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
