
19 May
2009
19 May
'09
8:19 a.m.
Hi All, I would like to use miiphy_read and miiphy_write functions provided by u-boot in the linux kernel driver. This is required for reading the link status of each of the phys associated with a switch.
I added miiphy_read and miiphy_write to the exports.h and tried to use it in the kernel. But we get lots of multiple reference errors as some libraries will be there both in u-boot and linux kernel.
Could I do something like a dll or lib for these functions and use them in the linux kernel driver ? Please guide me on this.
Thanks, Kartheek N S
--
View this message in context: http://www.nabble.com/how-to-use-a-function-provided-by-u-boot-in-linux-driv...
Sent from the Uboot - Users mailing list archive at Nabble.com.