]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: gem: Do not probe phy if phy-handle is not setup
authorMichal Simek <michal.simek@xilinx.com>
Thu, 1 May 2014 07:23:08 +0000 (09:23 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 6 May 2014 10:51:17 +0000 (12:51 +0200)
commit28cc426e38a7eb03d77113dfb5405020b0e6ecd4
treec9e956030b902ac6819cab1df47540068784a713
parentdb9f423f4bf09027aa6334504acce6f3ca4a649d
net: gem: Do not probe phy if phy-handle is not setup

Driver doesn't support automatic phy detection
as macb driver that's why don't crash when phy is not found.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Nathan Rossi <nathan.rossi@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_emacps.c