[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9AC3F0E75060224C8BBC5BA2DDC8853A1FA8DCDA@EXV1.corp.adtran.com>
Date: Wed, 6 Apr 2011 16:03:55 -0500
From: ANDY KENNEDY <ANDY.KENNEDY@...ran.com>
To: <netdev@...r.kernel.org>
Subject: RE: mdiobus_register() issue for an SMSC8720a PHY
> ====== get_device_parent:689
> dev = 0x8781da40
> dev->class = 0x803c2ad4
> dev->class->p = 0x00000000
> dev->class->p->class_dirs = 0x00000048
Ughh. I deleted a line of text from the e-mail I sent. I found my
problem. The line of text that would have given all of you the answer
quickly was this:
The below code is from arch/mips/<myboard>/platform.c.
Perhaps this is vague, so I'll clarify. I start this process from the
board level configuration, therefore the mdio class (which gets created
in the init of mdiobus) isn't -- thus class->p is empty.
So, now I just need to relocate this code to some "real" network driver,
I guess.
Andy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists