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]

PHY's and generic PHY's and CDL


Gary, (and anyone else who wants to comment)

per Andrew's suggestion I've been putting developing my changes for the Epia MII ethernet driver as a separate PHY driver and MAC driver. To that end I created a VT6103.c in the phy/src directory and added it to the CDL file.

But when I read the data sheet on this PHY it says it implements the 803.3u standard which has a number of pre-defined bits and registers. Some of those defines are in the eth_phy_dev.h file.

So it seems the only customization in the phy specific C file, if the PHY implements the standard, is the "description" of the PHY and the manufacturer's ID. With that being the case it seems like a generic PHY support routine could be written where the description and ID for the phy were provided by CDL constructs.

I'm digging into how CDL generates files with ecosconfig so that I can see if this is a reasonable thing to do.

--Chuck




-- 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]