<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/micrel, branch linux-3.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-30T22:06:02Z</updated>
<entry>
<title>ethernet: micrel: fix some error codes</title>
<updated>2016-04-30T22:06:02Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2016-03-16T07:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c1e8c82c3a821ec9dbdc82c9fb265dd11863868'/>
<id>urn:sha1:5c1e8c82c3a821ec9dbdc82c9fb265dd11863868</id>
<content type='text'>
commit 3af0d554c1ce11e9d0953381ff566271f9ab81a9 upstream.

There were two issues here:
1) dma_mapping_error() return true/false but we want to return -ENOMEM
2) If dmaengine_prep_slave_sg() failed then "err" wasn't set but
   presumably that should be -ENOMEM as well.

I changed the success path to "return 0;" instead of "return ret;" for
clarity.

Fixes: 94fe8c683cea ('ks8842: Support DMA when accessed via timberdale')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>net: ks8851: Don't use regulator_get_optional()</title>
<updated>2014-06-02T07:13:51Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2014-05-28T20:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d64eed1d9bb57fb7a8daf9b6127dd8b558e6d262'/>
<id>urn:sha1:d64eed1d9bb57fb7a8daf9b6127dd8b558e6d262</id>
<content type='text'>
We shouldn't be using regulator_get_optional() here. These
regulators are always present as part of the physical design and
there isn't any way to use an internal regulator or change the
source of the reference voltage via software. Given that the only
users of this driver in the kernel are DT based, this change
should be transparent to them even if they don't specify any
supplies because the regulator framework will insert dummy
supplies as needed.

Cc: Nishanth Menon &lt;nm@ti.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Reviewed-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Revert mlx4 cpumask changes.</title>
<updated>2014-06-02T04:58:02Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2014-06-02T04:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee39facbf82e73e468c504d2b40e83e2d223c28c'/>
<id>urn:sha1:ee39facbf82e73e468c504d2b40e83e2d223c28c</id>
<content type='text'>
This reverts commit 70a640d0dae3a9b1b222ce673eb5d92c263ddd61
("net/mlx4_en: Use affinity hint") and commit
c8865b64b05b2f4eeefd369373e9c8aeb069e7a1 ("cpumask: Utility function
to set n'th cpu - local cpu first") because these changes break
the build when SMP is disabled amongst other things.

Reported-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ks8851: Don't use regulator_get_optional()</title>
<updated>2014-06-02T02:47:27Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2014-05-28T20:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a82e40d6b66373498bf937e31b249f17dc1105a'/>
<id>urn:sha1:2a82e40d6b66373498bf937e31b249f17dc1105a</id>
<content type='text'>
We shouldn't be using regulator_get_optional() here. These
regulators are always present as part of the physical design and
there isn't any way to use an internal regulator or change the
source of the reference voltage via software. Given that the only
users of this driver in the kernel are DT based, this change
should be transparent to them even if they don't specify any
supplies because the regulator framework will insert dummy
supplies as needed.

Cc: Nishanth Menon &lt;nm@ti.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Reviewed-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ks8851: Add of match table</title>
<updated>2014-05-24T18:03:21Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2014-05-23T19:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4c6e06dec2bfb71daf98ffc67a98866f66e17a8'/>
<id>urn:sha1:f4c6e06dec2bfb71daf98ffc67a98866f66e17a8</id>
<content type='text'>
Users are currently just providing "ks8851" as the compatible for
this driver in device tree. Add a compatible string that provides
the vendor name along with the device name to be more explicit.

Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ks8851: Add optional vdd_io regulator and reset gpio</title>
<updated>2014-05-24T18:03:21Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2014-05-23T19:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73fdeb82e963a0e0f7f2781560b43655ab0b40d5'/>
<id>urn:sha1:73fdeb82e963a0e0f7f2781560b43655ab0b40d5</id>
<content type='text'>
Allow the ks8851 driver to enable an optional 1.8V vdd_io
regulator and assert the reset pin to the phy if a reset gpio is
present in device tree.

Cc: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ks8851: Use devm_regulator_get_optional()</title>
<updated>2014-05-24T18:03:21Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2014-05-23T19:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c78dbad8c441af4815cd660587470b78552ecfd8'/>
<id>urn:sha1:c78dbad8c441af4815cd660587470b78552ecfd8</id>
<content type='text'>
This simplifies error paths and removes the need to
regulator_put().

Cc: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>micrel: Use time_before_eq()</title>
<updated>2014-05-22T19:50:12Z</updated>
<author>
<name>Manuel Schölling</name>
</author>
<published>2014-05-22T17:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05e1e76e0f736cba6094425ba20a3eea6dc23b99'/>
<id>urn:sha1:05e1e76e0f736cba6094425ba20a3eea6dc23b99</id>
<content type='text'>
To be future-proof and for better readability the time comparisons are modified
to use time_before_eq() instead of plain, error-prone math.

Signed-off-by: Manuel Schölling &lt;manuel.schoelling@gmx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: Register Micrel ksz884x network devices in PCI device tree.</title>
<updated>2014-05-15T19:43:50Z</updated>
<author>
<name>Markus Lottmann</name>
</author>
<published>2014-05-14T12:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9dbccc30f3306114e1ca4a89da69be6d5f675782'/>
<id>urn:sha1:9dbccc30f3306114e1ca4a89da69be6d5f675782</id>
<content type='text'>
This unifies the behaviour with other network device drivers and
allows for a matching of the PCI device path in UDEV rules.

Signed-off-by: Markus Lottmann &lt;markus.lottmann1986@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: get rid of SET_ETHTOOL_OPS</title>
<updated>2014-05-13T21:43:20Z</updated>
<author>
<name>Wilfried Klaebe</name>
</author>
<published>2014-05-11T00:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ad24ea4bf620a32631d7b3069c3e30c078b0c3e'/>
<id>urn:sha1:7ad24ea4bf620a32631d7b3069c3e30c078b0c3e</id>
<content type='text'>
net: get rid of SET_ETHTOOL_OPS

Dave Miller mentioned he'd like to see SET_ETHTOOL_OPS gone.
This does that.

Mostly done via coccinelle script:
@@
struct ethtool_ops *ops;
struct net_device *dev;
@@
-       SET_ETHTOOL_OPS(dev, ops);
+       dev-&gt;ethtool_ops = ops;

Compile tested only, but I'd seriously wonder if this broke anything.

Suggested-by: Dave Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Wilfried Klaebe &lt;w-lkml@lebenslange-mailadresse.de&gt;
Acked-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
