Re: [PATCH 09/14] net: Rework gianfar driver to use of_mdio infrastructure.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Grant Likely
Date: Friday, April 17, 2009 - 11:34 pm

On Wed, Apr 15, 2009 at 5:01 PM, Andy Fleming <afleming@freescale.com> wrote:

Actually, it does.  gianfar_of_init() used to parse the tbi-handle,
and I've replaced that code with a call to of_parse_phandle() in init
and an of_phy_connect() in init_phy() to get a pointer to the TBI
phy_device.  However, you are completely right that calling
of_phy_connect() is entirely the wrong thing to do on the TBI phy.  It
should be retrieving the pointer to the phydevice without actually
connecting to it (which forces the phy_driver probe and starts the
state machine).  I need to fix this.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 06/14] openfirmware: Add OF phylib support code, Grant Likely, (Tue Mar 31, 1:27 am)
[PATCH 14/14] net: add Xilinx ll_temac device driver, Grant Likely, (Tue Mar 31, 1:27 am)
Re: [PATCH 09/14] net: Rework gianfar driver to use of_mdi ..., Grant Likely, (Fri Apr 17, 11:34 pm)