]> 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>
Thu, 1 May 2014 09:57:58 +0000 (11:57 +0200)
commit2854a57e39d6e787292370144b7093fb5884c5b5
treef5eb921b19779f8688a4624af118c1c4a74ef809
parentdb4f47007bb22e29c63c916e893a79d90b3d2379
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