From: Andrew Morton <akpm@digeo.com>
To: azarah@gentoo.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5] Update sk98lin driver
Date: Sun, 4 May 2003 14:50:38 -0700 [thread overview]
Message-ID: <20030504145038.5b0495b5.akpm@digeo.com> (raw)
In-Reply-To: <1052073847.4478.18.camel@nosferatu.lan>
Martin Schlemmer <azarah@gentoo.org> 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
>
> The current one in the 2.5 tree was last updated for newer
> chipsets in 2001, while the new was updated February this
> year.
>
> Anyhow, I got the new to compile, and fixed the few irqreturn_t
> calls, and some other 2.5 changes I knew about.
>
> 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
/*
_
next prev parent reply other threads:[~2003-05-04 21:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-04 18:44 Martin Schlemmer
2003-05-04 18:54 ` Christoph Hellwig
2003-05-04 18:57 ` Matti Aarnio
2003-05-04 19:35 ` Martin Schlemmer
2003-05-04 21:50 ` Andrew Morton [this message]
2003-05-04 23:29 ` Martin Schlemmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030504145038.5b0495b5.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=azarah@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®