<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/nxp/lpc_eth.c, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-10-05T10:41:12Z</updated>
<entry>
<title>net: lpc_eth: fix warnings caused by enabling unprepared clock</title>
<updated>2015-10-05T10:41:12Z</updated>
<author>
<name>Vladimir Zapolskiy</name>
<email>vz@mleia.com</email>
</author>
<published>2015-09-30T21:37:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=33a8316d9cda4368e7cb477fff36c9ee35d4164e'/>
<id>urn:sha1:33a8316d9cda4368e7cb477fff36c9ee35d4164e</id>
<content type='text'>
If common clock framework is configured, the driver generates warnings,
which are fixed by this change:

    WARNING: CPU: 0 PID: 1 at linux/drivers/clk/clk.c:727 clk_core_enable+0x2c/0xa4()
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper Not tainted 4.3.0-rc2+ #141
    Hardware name: LPC32XX SoC (Flattened Device Tree)
    Backtrace:
    [&lt;&gt;] (dump_backtrace) from [&lt;&gt;] (show_stack+0x18/0x1c)
    [&lt;&gt;] (show_stack) from [&lt;&gt;] (dump_stack+0x20/0x28)
    [&lt;&gt;] (dump_stack) from [&lt;&gt;] (warn_slowpath_common+0x90/0xb8)
    [&lt;&gt;] (warn_slowpath_common) from [&lt;&gt;] (warn_slowpath_null+0x24/0x2c)
    [&lt;&gt;] (warn_slowpath_null) from [&lt;&gt;] (clk_core_enable+0x2c/0xa4)
    [&lt;&gt;] (clk_core_enable) from [&lt;&gt;] (clk_enable+0x24/0x38)
    [&lt;&gt;] (clk_enable) from [&lt;&gt;] (lpc_eth_drv_probe+0xfc/0x99c)
    [&lt;&gt;] (lpc_eth_drv_probe) from [&lt;&gt;] (platform_drv_probe+0x50/0xa0)
    [&lt;&gt;] (platform_drv_probe) from [&lt;&gt;] (driver_probe_device+0x18c/0x408)
    [&lt;&gt;] (driver_probe_device) from [&lt;&gt;] (__driver_attach+0x70/0x94)
    [&lt;&gt;] (__driver_attach) from [&lt;&gt;] (bus_for_each_dev+0x74/0x98)
    [&lt;&gt;] (bus_for_each_dev) from [&lt;&gt;] (driver_attach+0x20/0x28)
    [&lt;&gt;] (driver_attach) from [&lt;&gt;] (bus_add_driver+0x11c/0x248)
    [&lt;&gt;] (bus_add_driver) from [&lt;&gt;] (driver_register+0xa4/0xe8)
    [&lt;&gt;] (driver_register) from [&lt;&gt;] (__platform_driver_register+0x50/0x64)
    [&lt;&gt;] (__platform_driver_register) from [&lt;&gt;] (lpc_eth_driver_init+0x18/0x20)
    [&lt;&gt;] (lpc_eth_driver_init) from [&lt;&gt;] (do_one_initcall+0x11c/0x1dc)
    [&lt;&gt;] (do_one_initcall) from [&lt;&gt;] (kernel_init_freeable+0x10c/0x1d4)
    [&lt;&gt;] (kernel_init_freeable) from [&lt;&gt;] (kernel_init+0x10/0xec)
    [&lt;&gt;] (kernel_init) from [&lt;&gt;] (ret_from_fork+0x14/0x24)

Signed-off-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: Remove superfluous ether_setup after alloc_etherdev</title>
<updated>2014-10-03T22:31:40Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2014-10-02T08:15:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6a05880a8b22c6ba2ffdabbceb4635d28abe9072'/>
<id>urn:sha1:6a05880a8b22c6ba2ffdabbceb4635d28abe9072</id>
<content type='text'>
There is no need to call ether_setup after alloc_ethdev since it was
already called there.

Follow commits c706471b2601 ("net: axienet: remove unnecessary
ether_setup after alloc_etherdev") and 3c87dcbfb36c ("net: ll_temac:
Remove unnecessary ether_setup after alloc_etherdev") and fix the
pattern in all remaining ethernet drivers.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: lpc_eth: Fix crash on ip link up</title>
<updated>2014-09-02T20:21:55Z</updated>
<author>
<name>Roland Stigge</name>
<email>stigge@antcom.de</email>
</author>
<published>2014-09-01T11:46:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=aff88a0695976596b39dcfa65da4896c802c938d'/>
<id>urn:sha1:aff88a0695976596b39dcfa65da4896c802c938d</id>
<content type='text'>
When a link is already up, the following sequence makes the kernel
block completely:

  ip link set dev eth0 down
  ip link set dev eth0 up

This is because on suspended phy, the following lines

  __lpc_eth_reset(pldat);
  __lpc_eth_init(pldat);

make the LPC ethernet core block (see LPC32x0 manual). The PHY needs to be
(re-)activated low-level first.

Signed-off-by: Roland Stigge &lt;stigge@antcom.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lpc_eth: Use resource_size instead of computation</title>
<updated>2014-06-03T23:08:52Z</updated>
<author>
<name>Benoit Taine</name>
<email>benoit.taine@lip6.fr</email>
</author>
<published>2014-06-03T10:45:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9323b239953605071866899e675c06fb2d41880c'/>
<id>urn:sha1:9323b239953605071866899e675c06fb2d41880c</id>
<content type='text'>
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci

Signed-off-by: Benoit Taine &lt;benoit.taine@lip6.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-01-16T19:53:26Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2014-01-08T20:32:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a81ab36bf52d0ca3a32251a923be1dbced726141'/>
<id>urn:sha1:a81ab36bf52d0ca3a32251a923be1dbced726141</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.   Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

This covers everything under drivers/net except for wireless, which
has been submitted separately.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent()</title>
<updated>2013-10-31T14:48:56Z</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2013-06-27T13:03:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b469357f4ba28bd8d659106143fb1f6b3c64d5df'/>
<id>urn:sha1:b469357f4ba28bd8d659106143fb1f6b3c64d5df</id>
<content type='text'>
The code sequence:
	pldat-&gt;pdev-&gt;dev.coherent_dma_mask = 0xFFFFFFFF;
	pldat-&gt;pdev-&gt;dev.dma_mask = &amp;pldat-&gt;pdev-&gt;dev.coherent_dma_mask;
bypasses the architectures check on the DMA mask.  It can be replaced
with dma_coerce_mask_and_coherent(), avoiding the direct initialization
of this mask.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>net: ethernet: remove unnecessary platform_set_drvdata()</title>
<updated>2013-05-28T05:34:51Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-05-27T19:01:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=dfd93c977d84fef77404b689ef95bc716b313533'/>
<id>urn:sha1:dfd93c977d84fef77404b689ef95bc716b313533</id>
<content type='text'>
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Roland Stigge &lt;stigge@antcom.de&gt;
Acked-by: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Tested-by: Roland Stigge &lt;stigge@antcom.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/nxp/lpc_eth: Drop ifdef CONFIG_OF_NET</title>
<updated>2013-04-02T20:43:56Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-04-02T09:35:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=be0e2f1f7d2fb6c49ea29a4f8274b36537c34dba'/>
<id>urn:sha1:be0e2f1f7d2fb6c49ea29a4f8274b36537c34dba</id>
<content type='text'>
Since of_get_mac_address() is now declared even if CONFIG_OF_NET
is not configured, the ifdef is no longer necessary and can be
removed.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2013-03-20T16:46:26Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2013-03-20T16:46:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=61816596d1c9026d0ecb20c44f90452c41596ffe'/>
<id>urn:sha1:61816596d1c9026d0ecb20c44f90452c41596ffe</id>
<content type='text'>
Pull in the 'net' tree to get Daniel Borkmann's flow dissector
infrastructure change.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lpc_eth: fix error return code in lpc_eth_drv_probe()</title>
<updated>2013-03-20T16:19:15Z</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-03-20T02:21:48Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fa90b077d72b4ea92706e86fdff7b5dca294caa3'/>
<id>urn:sha1:fa90b077d72b4ea92706e86fdff7b5dca294caa3</id>
<content type='text'>
Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
