Re: [U-Boot-Users] RFC: miiphy changes

20 Jan
2007
20 Jan
'07
4:03 p.m.
Hi Andy,
--- Andy Fleming afleming@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
6684
Age (days ago)
6684
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ben Warren