This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ethernet PHY Device API


Gary,

What sort of initialization does your PHY need?  Most PHY devices are
quite useful/happy just being taken out of reset and talking to them...

I need to switch the PHY to the RGMII mode. By default it is in the GMII mode. It involves a few writes to the PHY registers. Are you saying that I have to be doing this in the platform driver? I don't think it belongs there, but that's actually how I am doing it now... For some reason I can't get ethernet working on this card. I know that hardware is OK because I have another OS running on it happily. I can't find anything wrong except for one MAC register reporting wrong RGMII status. This made me think that perhaps the PHY is initialized too late... However, the register in question doesn't seem to behave properly under another OS either...



/Mikhail




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]