<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/phy, branch v3.18</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.18</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-11-12T20:06:17Z</updated>
<entry>
<title>net: ptp: fix time stamp matching logic for VLAN packets.</title>
<updated>2014-11-12T20:06:17Z</updated>
<author>
<name>Richard Cochran</name>
<email>richardcochran@gmail.com</email>
</author>
<published>2014-11-12T10:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cca04b2854ecfb7cd1b8ee84ab38bc99af59f526'/>
<id>urn:sha1:cca04b2854ecfb7cd1b8ee84ab38bc99af59f526</id>
<content type='text'>
Commit ae5c6c6d "ptp: Classify ptp over ip over vlan packets" changed the
code in two drivers that matches time stamps with PTP frames, with the goal
of allowing VLAN tagged PTP packets to receive hardware time stamps.

However, that commit failed to account for the VLAN header when parsing
IPv4 packets. This patch fixes those two drivers to correctly match VLAN
tagged IPv4/UDP PTP messages with their time stamps.

This patch should also be applied to v3.17.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: Correctly handle MII ioctl which changes autonegotiation.</title>
<updated>2014-11-11T21:21:26Z</updated>
<author>
<name>Brian Hill</name>
<email>brian@houston-radar.com</email>
</author>
<published>2014-11-11T20:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79ce0477ffe82e7e49e55179cd176a1c33382744'/>
<id>urn:sha1:79ce0477ffe82e7e49e55179cd176a1c33382744</id>
<content type='text'>
When advertised capabilities are changed with mii-tool, such as:
mii-tool -A 10baseT
the existing handler has two errors.

- An actual PHY register value is provided by mii-tool, and this
  must be mapped to internal state with mii_adv_to_ethtool_adv_t().
- The PHY state machine needs to be told that autonegotiation has
  again been performed.  If not, the MAC will not be notified of
  the new link speed and duplex, resulting in a possible config
  mismatch.

Signed-off-by: Brian Hill &lt;Brian@houston-radar.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: Add SGMII Configuration for Marvell 88E1145 Initialization</title>
<updated>2014-10-28T21:00:22Z</updated>
<author>
<name>Vince Bridgers</name>
<email>vbridger@opensource.altera.com</email>
</author>
<published>2014-10-26T19:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=99d881f993f066c75059d24e44c74f7a3fc199bc'/>
<id>urn:sha1:99d881f993f066c75059d24e44c74f7a3fc199bc</id>
<content type='text'>
Marvell phy 88E1145 configuration &amp; initialization was missing a case
for initializing SGMII mode. This patch adds that case.

Signed-off-by: Vince Bridgers &lt;vbridger@opensource.altera.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>phy/micrel: KSZ8031RNL RMII clock reconfiguration bug</title>
<updated>2014-10-14T16:41:03Z</updated>
<author>
<name>Bruno Thomsen</name>
<email>bth@kamstrup.dk</email>
</author>
<published>2014-10-09T14:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b838b4aced99e0d31a272396d43d9ca21cb078cb'/>
<id>urn:sha1:b838b4aced99e0d31a272396d43d9ca21cb078cb</id>
<content type='text'>
Bug: Unable to send and receive Ethernet packets with Micrel PHY.

Affected devices:
KSZ8031RNL (commercial temp)
KSZ8031RNLI (industrial temp)

Description:
PHY device is correctly detected during probe.
PHY power-up default is 25MHz crystal clock input
and output 50MHz RMII clock to MAC.
Reconfiguration of PHY to input 50MHz RMII clock from MAC
causes PHY to become unresponsive if clock source is changed
after Operation Mode Strap Override (OMSO) register setup.

Cause:
Long lead times on parts where clock setup match circuit design
forces the usage of similar parts with wrong default setup.

Solution:
Swapped KSZ8031 register setup and added phy_write return code validation.

Tested with Freescale i.MX28 Fast Ethernet Controler (fec).

Signed-off-by: Bruno Thomsen &lt;bth@kamstrup.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/phy: micrel: Add clock support for KSZ8021/KSZ8031</title>
<updated>2014-10-10T19:35:13Z</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2014-10-10T07:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1fadee0c364572f2b2e098b34001fbaa82ee2e00'/>
<id>urn:sha1:1fadee0c364572f2b2e098b34001fbaa82ee2e00</id>
<content type='text'>
The KSZ8021 and KSZ8031 support RMII reference input clocks of 25MHz
and 50MHz. Both PHYs differ in the default frequency they expect
after reset. If this differs from the actual input clock, then
register 0x1f bit 7 must be changed.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Reviewed-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: adjust fixed_phy_register() return value</title>
<updated>2014-10-07T17:06:45Z</updated>
<author>
<name>Petri Gynther</name>
<email>pgynther@google.com</email>
</author>
<published>2014-10-06T18:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fd2ef0ba3071c92ac6272ab22ea3f2b16d88a4eb'/>
<id>urn:sha1:fd2ef0ba3071c92ac6272ab22ea3f2b16d88a4eb</id>
<content type='text'>
Adjust fixed_phy_register() to return struct phy_device *, so that
it becomes easy to use fixed PHYs without device tree support:

  phydev = fixed_phy_register(PHY_POLL, &amp;fixed_phy_status, NULL);
  fixed_phy_set_link_update(phydev, fixed_phy_link_update);
  phy_connect_direct(netdev, phydev, handler_fn, phy_interface);

This change is a prerequisite for modifying bcmgenet driver to work
without a device tree on Broadcom's MIPS-based 7xxx platforms.

Signed-off-by: Petri Gynther &lt;pgynther@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM</title>
<updated>2014-10-06T04:46:27Z</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen.5i5j@gmail.com</email>
</author>
<published>2014-10-04T09:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b3a00c912cdf8efe985a08018fe26f362b32c1ac'/>
<id>urn:sha1:b3a00c912cdf8efe985a08018fe26f362b32c1ac</id>
<content type='text'>
MDIO_BCM_UNIMAC needs HAS_IOMEM, so depend on it, the related error (
with allmodconfig under um):

    MODPOST 1205 modules
  ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined!

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: add BCM7425 and BCM7429 PHYs</title>
<updated>2014-10-02T02:12:48Z</updated>
<author>
<name>Petri Gynther</name>
<email>pgynther@google.com</email>
</author>
<published>2014-10-01T18:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d068b02cfdfc27f5962ec82ec5568b706f599edc'/>
<id>urn:sha1:d068b02cfdfc27f5962ec82ec5568b706f599edc</id>
<content type='text'>
Signed-off-by: Petri Gynther &lt;pgynther@google.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmai.com&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>2014-09-23T16:09:27Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-09-23T16:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f6d80358dc9bbbeb56cb43384fa11fd645d9289'/>
<id>urn:sha1:1f6d80358dc9bbbeb56cb43384fa11fd645d9289</id>
<content type='text'>
Conflicts:
	arch/mips/net/bpf_jit.c
	drivers/net/can/flexcan.c

Both the flexcan and MIPS bpf_jit conflicts were cases of simple
overlapping changes.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: bcm7xxx: utilize PHY revision in config_init</title>
<updated>2014-09-19T20:27:07Z</updated>
<author>
<name>Florian Fainelli</name>
<email>f.fainelli@gmail.com</email>
</author>
<published>2014-09-19T20:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8ebfed3f11b62ebc192af3cab64d835ff047e74'/>
<id>urn:sha1:d8ebfed3f11b62ebc192af3cab64d835ff047e74</id>
<content type='text'>
Now that the GENET and SF2 drivers have been updated to communicate us
what is the revision of the BCM7xxx integrated PHY, utilize that
information in the config_init() callback to call into the appropriate
workaround function based on our revision.

While at it, we also print the revision and patch level to help debug
new chips.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
