linux-mips
[Top] [All Lists]

Re: Anyone have the e1000.o driver working?

To: Matthew Dharm <mdharm@momenco.com>
Subject: Re: Anyone have the e1000.o driver working?
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 25 Feb 2002 14:10:36 +0100 (MET)
Cc: Kevin Paul Herbert <kph@ayrnetworks.com>, Linux-MIPS <linux-mips@oss.sgi.com>
In-reply-to: <20020223123037.A8314@momenco.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Sat, 23 Feb 2002, Matthew Dharm wrote:

> Hopefully my last message will get through... but basically e1000_main.c
> references and extern struct pointer, and the code generated doesn't look
> right -- it does a lui v0,0x0 and then a lw v0,0(v0) which causes a crash.

 What's wrong with it?  Doesn't it have a relocation attached (check with
`objdump -r')?  If so, that's a problem, otherwise there is nothing wrong
with it.  Since addresses of external symbols are only known at the load
time, relocations in kernel modules are resolved by insmod.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>