[U-Boot-Users] RTL8169 driver not work on PPC8241

Roger Yang(楊仁存) roger at cameo.com.tw
Tue Dec 12 12:43:17 CET 2006


Hi,
My ethernet can not work based on RTL8169 and MPC8241. I try to use TFTP command to load files. But It can not send out the packets. I found it caused by TxDescriptor not work. Since the owner bit on TxDescriptor can not auto clean by descriptor in the function rtl_send( ). When compile RTL8169.C, a function "virt_to_bus( )" lost. So i define it as the following 
#undef	virt_to_bus
#define	virt_to_bus(x)	((unsigned long)x)

Can any one advise me if this definition ok? Or anything I should check?

Thanks

Roger Yang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061212/7a3768c4/attachment.htm 


More information about the U-Boot mailing list