[U-Boot] [PATCH 1/1 v3] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY
Victor Gallardo
vgallardo at amcc.com
Wed Sep 3 22:07:06 CEST 2008
>> +
>> +/*
>> + * CFG_PHY_LESS_PORTS tells us about ethernet ports that have no PHY
>> + * attached to them.
>> + */
>> +#ifndef CFG_PHY_LESS_PORTS
>> +#define CFG_PHY_LESS_PORTS
>> +#endif
>> +
>> +struct phy_less_port {
>> + unsigned int devnum; /* ethernet port */
>> + unsigned int speed; /* specified speed 10,100 or 1000 */
>> + unsigned int duplex; /* specified duplex FULL or HALF */
>> +};
>
> Again, if we agree that this is a good "solution", then this should be
moved into a common header, probably net.h.
Maybe a better file for this would be in miiphy.h
More information about the U-Boot
mailing list