Hi,You'll need to study the patch files and do a manual merge of these fragments.
ruzhu kao wrote:
####################################################################
It seems that the lltemac driver can not properly work.
When I apply the third patch, some code lines cannot add to these files:
linux-2.6.x-petalogix/include/asm-microblaze/delay.h
line 14: add #include <asm/param.h> /*For HZ*/
linux-2.6.x-petalogix/arch/microblaze/platform/common/Makefile
line 30: add $(obj)/xlltemac.o: .config
Make sure in arch/microblaze/platform/common/Makefile there are two lines refering to xlltemac.o - one will be somethingl ike obj-${CONFIG_LL_TEMAC) += xlltemac.o, and the other is the one you show above.
Both must be preset. Try sprinkling printk in the platfomr/common/xlltemac.c file. This is the platform device initialiser, it tells the kernel that ya device of time ll_temac is present. The kernel then binds this with the driver upon boot. Both the plat initialiser and driver must be present for the device to register.
On system boot, look in /sys heiarchy, see if you can find the lltemac device in there.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/