Pete Popov wrote:
> To get the realtek driver to work, all you need to do is to set
> mips_io_port_base to KSEG1. Let's assume that the ethernet card has
> been assigned i/o space at 0x14000000. The driver will pick that up as
> the ioaddr and use the 0x1400000 as the "port". The inb()/outb() macros
> add mips_io_port_base to the "port" value and now you have 0xB4000000,
> so you can access the card.
>
> Pete
The KSEG1() is indeed what I did, however the driver, as I tried to
describe, starts to loose synchronization on buffer at some point and
just waits quietly... Even with all the DEBUG and mental effort switched
on I can't get the reason why this happens...
By the way, which version of the driver are you talking about? Mine
doesn't have any ifdef on anything... besides MODULE of course:-)
Mine is:
static const char *version =
"rtl8139.c:v1.07 5/6/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/"
--
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA) +972-9-8859365(Worldwide) ext. 233
Fax: 1-877-514-0538(USA) +972-9-8859366(Worldwide)
|