Searched hist:"9 da34f27c13bfc8d13b5599808d815382ef41128" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-phy.c | diff 9da34f27c13bfc8d13b5599808d815382ef41128 Fri Jan 27 16:43:43 CST 2017 Timur Tabi <timur@codeaurora.org> net: qcom/emac: display the phy driver info after we connect
The PHY driver is attached only when the driver calls phy_connect_direct(). Calling phy_attached_print() to display information about the PHY driver prior to that point is meaningless. The interface can be brought down, a new PHY driver can be loaded, and the interface then brought back up. This is the correct time to display information about the attached driver.
Since phy_attached_print() also prints information about the interrupt, that needs to be set as well.
Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | emac-mac.c | diff 9da34f27c13bfc8d13b5599808d815382ef41128 Fri Jan 27 16:43:43 CST 2017 Timur Tabi <timur@codeaurora.org> net: qcom/emac: display the phy driver info after we connect
The PHY driver is attached only when the driver calls phy_connect_direct(). Calling phy_attached_print() to display information about the PHY driver prior to that point is meaningless. The interface can be brought down, a new PHY driver can be loaded, and the interface then brought back up. This is the correct time to display information about the attached driver.
Since phy_attached_print() also prints information about the interrupt, that needs to be set as well.
Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|