[En-Nut-Discussion] Re: RTL8019 with general IO

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Thu Aug 25 16:57:21 CEST 2005


Hi Thiago,

>    Thanks for your help... I´m attaching the source that I´ve modified
> to this message along with the code I´m basing my modifications on.
> This later code is from the uIP port I mentioned, and it works on this
> hardware I´ve got.

I looked onto your source. I don't know your hardware. But I think the
rtl8019.c file just showed relativly good what to do.

But I would suggest to use the original avr driver for the 8019as and
modify it a bit. Take a look to the attachment. I simply changed NICINB
and NICOUTB to the two functions taken from the rtl8019.c file. 

These two functions implement the whole IO. Of course you still need to
adapt the rest of this driver to your needs (e.g. interrupts, status
lines, reset line and so on).


Using this driver instead of the original nicrtl.c should do the job.

If you have implemented this and your code is running, you could give
back your code to the community?

Best regards,

Ole Reinhardt

PS: Sorry, I either tested compiling this code nor can I test it on real
hardware. This shall only be an idea how I would solve the problem.


-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--



More information about the En-Nut-Discussion mailing list