Merge branch 'thunderx-phy'
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:27:23 +0000 (15:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:27:23 +0000 (15:27 -0400)
commit1f3a1c546615a2022c461c5e3458dd8a8f2f3aa1
treeb46597bf328b8a005d607d85e8c3695ce00ea1ab
parent0df83e7a6b58674683677f572e4e2361b2a69eea
parent379d7ac7ca31722a1fb488ae3e98b274c9db568c
Merge branch 'thunderx-phy'

David Daney says:

====================
net/phy: Improvements to Cavium Thunder MDIO code.

Changes from v1:

 - In 1/3 Add back check for non-OF objects in bgx_init_of_phy().  It
   is probably not necessary, but better safe than sorry...

The firmware on many Cavium Thunder systems configures the MDIO bus
hardware to be probed as a PCI device.  In order to use the MDIO bus
drivers in this configuration, we must add PCI probing to the driver.

There are two parts to this set of three patches:

 1) Cleanup the PHY probing code in thunder_bgx.c to handle the case
    where there is no PHY attached to a port, as well as being more
    robust in the face of driver loading order by use of
    -EPROBE_DEFER.

 2) Split mdio-octeon.c into two drivers, one with platform probing,
 and the other with PCI probing.  Common code is shared between the
 two.

Tested on several different Thunder and OCTEON systems, also compile
tested on x86_64.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This page took 0.024304 seconds and 5 git commands to generate.