Messages in this thread |  | | Subject | Re: [2.5] Update sk98lin driver | From | Martin Schlemmer <> | Date | 05 May 2003 01:29:07 +0200 |
| |
On Sun, 2003-05-04 at 23:50, Andrew Morton wrote:
> > 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 ? > > > > This was the fix for the in-kernel driver, so it'll presumably > fix the updated driver. > > > diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix drivers/net/sk98lin/h/skgepnm2.h > --- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix Thu Mar 6 16:18:07 2003 > +++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h Thu Mar 6 16:18:07 2003 > @@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr { > #if SK_TICKS_PER_SEC == 100 > #define SK_PNMI_HUNDREDS_SEC(t) (t) > #else > -#define SK_PNMI_HUNDREDS_SEC(t) (((t) * 100) / (SK_TICKS_PER_SEC)) > +#define SK_PNMI_HUNDREDS_SEC(t) ((((long)t) * 100) / (SK_TICKS_PER_SEC)) > #endif > > /*
Thanks, that fixed it =)
--
Martin Schlemmer
[unhandled content-type:application/pgp-signature] |  |