Hi,

Hi the ethlite driver is this one:
http://lxr.linux.no/linux+v2.6.39/drivers/net/xilinx_emaclite.c

The easy way is probably to look at the petalogix s3adsp board dtb
distributed with qemu. Iirc, the command to make readable is dtc -I dtb -O
dts -o tree.dts tree.dtb.

It should be possible to replace the hard lltemac in your tree.dtb with the
an entry describing a soft emaclite. Then youll have to edit qemu and
instantiate the mac at the appropriate address and  connect to the
appropriate interrupt line.

Cheers
---
Sent from my android device
On Jul 13, 2011 5:19 AM, "Lê Đức Tài" <letai_d...@yahoo.com.vn> wrote:
> On Jul 11, 2011 15:31, "Edgar E. Iglesias" <edgar.igles...@gmail.com>
wrote:
>
>
>> Hi,
>> The emulated board and fpga config doesnt have pci. It does have a xilinx

>>ll-temac ethernet mac though. I have patches for that, its on my todo list
to
>>post them. Right now im on the road with little access to my stuff. It'll
have
>>to wait, sorry.
>> If you dont need a particular mac, you could try to change the dtb and
qemu
>>to instantiate a xilinx ethlite mac which qemu upstream does emulate. I
suggest
>>looking at the microblaze boards as reference.
>> Good luck,
>> Edgar
> Hi Edgar,
> I'm trying to create Xilinx Ethernet Lite MAC.
> So, I have two question :d.
> What is the kernel driver that use for xilinx-ethlite nic?
> And what should I change the dts file? (Does remove Hard Ethernet Mac?)
>
> Please help me. Thank you.
> Tai

Reply via email to