Re: [2.5] Update sk98lin driver

Matti Aarnio (matti.aarnio@zmailer.org)
Sun, 4 May 2003 21:57:16 +0300


On Sun, May 04, 2003 at 08:44:07PM +0200, Martin Schlemmer wrote:
> Hi
>
> I have a 3Com 3c940 gigabit LOM, that is basically a
> SysKonnect chipset card. Here are later drivers that
> do support it:
> ftp://ftp.asus.com.tw/pub/ASUS/lan/3com/3c940/041_Linux.zip
...>
> Now the problem is that if I try to load it, I get this:
> -----------------------------------------
> sk98lin: Unknown symbol __udivdi3
> -----------------------------------------
> Meaning it linked with libgcc_s.so. Any ideas why ?

It wanted to. That is signature of 64 bit value
being divided by an abitrary non-power-of-two divider.

If there is a non-fast-path use for the division,
using do_div() macro. Originally for lib/vsprintf.c
from which you can deduce the usage.

If it is in fast-path, then the code needs serious
re-thought.

> If you need the diff from above source, let me know. Else
> if somebody more experienced is interested in porting it,
> I will gladly test.
> Thanks,
> --
> Martin Schlemmer

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/