From: ivaylo@bglans.net
To: netdev@vger.kernel.org
Subject: problem with r8101 driver
Date: Thu, 29 Jan 2009 12:30:08 +0200 (EET) [thread overview]
Message-ID: <Pine.LNX.4.64.0901291203430.18427@mail.bglans.net> (raw)
Hello
I've play with r8101 driver and have strange problem.
My envourment is:
Motherboard Intel D945GCLF ( 945GC chipset with integrated CPU Atom 130,
and Realtek 8102EL, I think it is supported by r8101 driver?)
Linux kernel 2.4.37
gcc 2.95.3
r8101 (all versions, downloaded from www.realtek.com.tw and intel.com)
First of my problems is with compile the driver it seems that there are 4
structures predefined in r8101_n.c:
netdev_priv - predefined from
linux-2.4.37/include/linux/netdevice.h
netif_msg_init - predefined from
linux-2.4.37/build/include/linux/netdevice.h
jiffies_to_msecs - predefined from
linux-2.4.36.6/build/include/linux/delay.h
msecs_to_jiffies - predefined from
linux-2.4.36.6/build/include/linux/delay.h
Anyway I try and compile the driver with the original structures from
kernel and from driver, but the result is the same - I hit the second
problem.
Second problem is stop transmiting packets after number of tx packets
reach NUM_TX_DESC defined in r8101.h (1024 is the default value). I play
with various NUM_TX_DESC the result is the same. If tx packets <
NUM_TX_DESC lan card work, it transmiting and reciving packets well.
If some body have any ideas or know something about the second problem let
me know.
Best regards,
Ivaylo Josifov
reply other threads:[~2009-01-29 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.LNX.4.64.0901291203430.18427@mail.bglans.net \
--to=ivaylo@bglans.net \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).