[U-Boot-Users] RFC: miiphy changes

Ben Warren bwarren at qstreams.com
Sat Jan 20 16:03:18 CET 2007


Hi Andy,

--- Andy Fleming <afleming at gmail.com> wrote:

> My only concern would be with how code outside of
> the driver can write
> to a specific device.  That is, how can board code
> access the pointer?
>  In the mpc8548 CDS code, we have to write one of
> the PHY registers on
> one of the PHYs (it's a quad PHY, but has certain
> global values in one
> PHY's register space).  Right now, we pass the name
> of TSEC 1 to the
> function (where it is ignored).  What would get
> passed under the new
> system?

See my response to Haavard.  The name is still
available if you want, it's just another level of
indirection away.  We could augment the struct to hold
whatever useful info you can think of, of course.

cheers,
Ben






More information about the U-Boot mailing list