<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>T-SeriesのトピックRe: Linux support of ethtool ETHTOOL_PHYS_ID in fsl_dpa (t4160)</title>
    <link>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437452#M330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used this patch over Freescale Linux SDK 1.9, I see that this is not present at SDK 2.0...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To NXP:&lt;/P&gt;&lt;P&gt;Is there any plans to integrate this? If yes can you refer patch on your git repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Dennis and NXP, rgds,&lt;/P&gt;&lt;P&gt;Joao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 19:28:42 GMT</pubDate>
    <dc:creator>JoaoMano</dc:creator>
    <dc:date>2017-04-04T19:28:42Z</dc:date>
    <item>
      <title>Linux support of ethtool ETHTOOL_PHYS_ID in fsl_dpa (t4160)</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437450#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my device I must switch on the Ethernet LED's of the network phy from user space.&lt;/P&gt;&lt;P&gt;In other devices I use the SIOCGMIIREG and SIOCSMIIREG to write to the mdio registers direct.&lt;/P&gt;&lt;P&gt;But the SIOCGMIIREG and SIOCSMIIREG is not supported any more:&lt;/P&gt;&lt;P&gt;root@myimg-64b:/proc/net# mii-tool eth5&lt;/P&gt;&lt;P&gt;SIOCGMIIPHY on 'eth5' failed: Invalid argument&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried to use ethtool:&lt;/P&gt;&lt;P&gt;root@myimg-64b:/proc/net# ethtool -p eth5 2&lt;/P&gt;&lt;P&gt;Cannot identify NIC: Operation not supported&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that set_phys_id is not implemented in driveres/net/ethernet/freescale/dpa/dpaa_ethtool.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Freescale Linux SDK 1.8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone has a idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437450#M328</guid>
      <dc:creator>dennislipschins</dc:creator>
      <dc:date>2015-08-13T09:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linux support of ethtool ETHTOOL_PHYS_ID in fsl_dpa (t4160)</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437451#M329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As simple workaround I added following lines of code to the end of function dpa_ioctl in dpaa_eth_common.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14401346690118798" data-renderedposition="50_8_1232_144" jivemacro_uid="_14401346690118798"&gt;&lt;P&gt;&amp;nbsp; if( cmd &amp;gt;= SIOCGMIIPHY &amp;amp;&amp;amp; cmd &amp;lt;= SIOCSMIIREG) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; struct dpa_priv_s *priv = netdev_priv(dev);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( priv &amp;amp;&amp;amp; priv-&amp;gt;mac_dev &amp;amp;&amp;amp; priv-&amp;gt;mac_dev-&amp;gt;phy_dev ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return phy_mii_ioctl(priv-&amp;gt;mac_dev-&amp;gt;phy_dev, rq, cmd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netdev_warn(dev, "No phy device\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = -ENODEV;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 05:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437451#M329</guid>
      <dc:creator>dennislipschins</dc:creator>
      <dc:date>2015-08-21T05:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Linux support of ethtool ETHTOOL_PHYS_ID in fsl_dpa (t4160)</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437452#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used this patch over Freescale Linux SDK 1.9, I see that this is not present at SDK 2.0...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To NXP:&lt;/P&gt;&lt;P&gt;Is there any plans to integrate this? If yes can you refer patch on your git repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Dennis and NXP, rgds,&lt;/P&gt;&lt;P&gt;Joao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 19:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-support-of-ethtool-ETHTOOL-PHYS-ID-in-fsl-dpa-t4160/m-p/437452#M330</guid>
      <dc:creator>JoaoMano</dc:creator>
      <dc:date>2017-04-04T19:28:42Z</dc:date>
    </item>
  </channel>
</rss>

