<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/dsa/dsa.c, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-20T06:45:10Z</updated>
<entry>
<title>net: dsa: Fix cleanup resources upon module removal</title>
<updated>2016-04-20T06:45:10Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2016-03-08T09:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56c06e33284eb012a33c9f5b81fc639373a3177b'/>
<id>urn:sha1:56c06e33284eb012a33c9f5b81fc639373a3177b</id>
<content type='text'>
[ Upstream commit 04761890a7cec6a1ff9aafd909004da4fe8059db ]

The initial commit badly merged into the dsa_resume method instead
of the dsa_remove_dst method.
As consequence, the dst-&gt;master_netdev-&gt;dsa_ptr is not set to NULL on
removal and re-bind of the dsa device fails with error -17.

Fixes: b0dc635d923c ("net: dsa: cleanup resources upon module removal ")
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Acked-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>phy: Add an mdio_device structure</title>
<updated>2016-01-07T19:31:26Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2016-01-06T19:11:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5a03bfd873c29eb786655ef2e95e53ed242b404'/>
<id>urn:sha1:e5a03bfd873c29eb786655ef2e95e53ed242b404</id>
<content type='text'>
Not all devices attached to an MDIO bus are phys. So add an
mdio_device structure to represent the generic parts of an mdio
device, and place this structure into the phy_device.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: move dsa slave destroy code to slave.c</title>
<updated>2015-12-07T21:35:50Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2015-12-07T12:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cda5c15b23fb9d683a491e8bd137d11d8552ac02'/>
<id>urn:sha1:cda5c15b23fb9d683a491e8bd137d11d8552ac02</id>
<content type='text'>
Move dsa slave dedicated code from dsa_switch_destroy to a new
dsa_slave_destroy function in slave.c.
Add the netif_carrier_off and phy_disconnect calls in order to
correctly cleanup the netdev state and PHY state machine.

Signed-off-by: Frode Isaksen &lt;fisaksen@baylibre.com&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: Add missing master netdev dev_put() calls</title>
<updated>2015-12-07T21:35:50Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2015-12-07T12:57:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=679fb46c57859b59a70257477bfbdfc7edfac4f5'/>
<id>urn:sha1:679fb46c57859b59a70257477bfbdfc7edfac4f5</id>
<content type='text'>
Upon probe failure or unbinding, add missing dev_put() calls.

Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: cleanup resources upon module removal</title>
<updated>2015-12-07T21:35:50Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2015-12-07T12:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0dc635d923cd5aafa4e99973f529bf68c582738'/>
<id>urn:sha1:b0dc635d923cd5aafa4e99973f529bf68c582738</id>
<content type='text'>
Make sure that we unassign the master_netdev dsa_ptr to make the packet
processing go through the regular Ethernet receive path.

Suggested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: remove DSA link polling</title>
<updated>2015-12-07T21:35:49Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2015-12-07T12:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4baee937b8d551c89f61542a575378e407b63415'/>
<id>urn:sha1:4baee937b8d551c89f61542a575378e407b63415</id>
<content type='text'>
Since no more DSA driver uses the polling callback, and since
the phylib handles the link detection, remove the link polling
work and timer code.

Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: include gpio consumer header file</title>
<updated>2015-11-24T16:28:06Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2015-11-24T11:34:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85beabfeca5343b86057c0d588e33f7975684d37'/>
<id>urn:sha1:85beabfeca5343b86057c0d588e33f7975684d37</id>
<content type='text'>
After the introduction of the switch gpio reset API, I'm getting
build errors in configurations that disable CONFIG_GPIOLIB:

net/dsa/dsa.c:783:16: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]

The reason is that linux/gpio/consumer.h is not automatically
included without gpiolib support. This adds an explicit #include
statement to make it compile in all configurations. The reset
functionality will not work without gpiolib, which is what you
get when disabling the feature.

As far as I can tell, gpiolib is supported on all architectures
on which you can have DSA at the moment.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: cc30c16344fc ("net: dsa: Add support for a switch reset gpio")
Acked-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: Add support for a switch reset gpio</title>
<updated>2015-11-23T16:53:10Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2015-11-20T02:56:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc30c16344fc3a25153175c7eb9037b2136cd466'/>
<id>urn:sha1:cc30c16344fc3a25153175c7eb9037b2136cd466</id>
<content type='text'>
Some boards have a gpio line tied to the switch reset pin. Allow this
gpio to be retrieved from the device tree, and take the switch out of
reset before performing the probe.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&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>2015-10-20T13:08:27Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2015-10-20T13:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26440c835f8b1a491e2704118ac55bf87334366c'/>
<id>urn:sha1:26440c835f8b1a491e2704118ac55bf87334366c</id>
<content type='text'>
Conflicts:
	drivers/net/usb/asix_common.c
	net/ipv4/inet_connection_sock.c
	net/switchdev/switchdev.c

In the inet_connection_sock.c case the request socket hashing scheme
is completely different in net-next.

The other two conflicts were overlapping changes.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: exit probe if no switch were found</title>
<updated>2015-10-07T11:56:11Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2015-10-06T14:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d7f3e757c15051b4521a59791de87ce748c0eb2'/>
<id>urn:sha1:4d7f3e757c15051b4521a59791de87ce748c0eb2</id>
<content type='text'>
If no switch were found in dsa_setup_dst, return -ENODEV and
exit the dsa_probe cleanly.

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