Subject: Re: RTL8181 port partway
To: Jason Hecker <jhecker@wireless.org.au>
From: Simon Burge <simonb@wasabisystems.com>
List: port-mips
Date: 03/12/2004 11:45:33
Jason Hecker wrote:

> I am in the throes of trying to get an Realtek RTL8181 MIPS port 
> happening.  At the suggestion of Simon Burge I am using the Alchemy and 
> aubus stuff as a reference.  Things are beginning to compile but I find 
> at kernel link time there's a tonne of functions I am missing and need 
> to sort out - at this moment it seems to be interrupt stuff.  I'd be 
> grateful if anyone who's got a some spare time to look at what I have 
> done and let me know what I am missing and/or where I am going wrong.
> 
> The files can be found on 
> http://www.wireless.org.au/~jhecker/rtl090304.tgz and are meant to be 
> untarred in sys/arch/evbmips/.

Look at the ipl_sr_bits[] and mips_ipl_si_to_sr[] arrays in
evbmips/malta/malta_intr.c and mips/alchemy/au_icu.c.  That should
remove most of those errors.  We can look at the rest after that.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/