
19 May
2009
19 May
'09
11:25 p.m.
Dear Kartheek N S,
In message 23610373.post@talk.nabble.com you wrote:
I would like to use miiphy_read and miiphy_write functions provided by
u-boot in the linux kernel driver.
This is not possible, and the request makes no sense.
When Linux boots, all the memory used by U-Boot is freed; no trace of U-Boot is left behind in memory. You cannot call any U-Boot functions from Linux, as U-Boot does not exist any more in RAM.
This is required for reading the link status of each of the phys
associated with a switch.
Linux has it's own interface and drivers to talk to PHYs and the like.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It's hard to make a program foolproof because fools are so ingenious.