Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 07-16-2008, 11:00 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 10

Rep: Reputation: 0
Exclamation The smsc9115 driver can't receive normally

Recently I had to drive smsc9115 in our develop board, it is a bootloader based network card driver. It can only use poll because the bootloader can't support interrupt. I refered SRC-118-LINUX-SIMPLE code in smsc website, it adopt interrupt method.

Now the 9115 can normally send ping packet to the PC NIC card, but it can't receive the reply packet from PC. The PC NIC card ping 9115 and 9115 can receive ping packet, but the received data isn't correct: the offset is wrong and the received data is longer than the sended.
I write to asked that what value should RX_CFG register be set when the 9115 is initialized?

What padding value should be of readfifo?

And I have read the value of RX_STATUS_FIFO register twice in my driver code, the data is different sometimes. But I had paid attention to the problem of "read_follow_read and read_follow_write". Why does this happen?

Thanks for help!
Old 07-17-2008, 05:28 PM   #2
Registered: May 2001
Posts: 28,826
Blog Entries: 55

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate.
Old 07-17-2008, 09:25 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Closing the original because the dupe is in the more suitable spot

Closed Thread

driver, nic, polling

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In console program,how to receive mouse event from driver wangchaoye Linux - Embedded & Single-board computer 2 07-15-2008 05:00 AM
Does sendmail sometimes NOT receive? dougp23 Linux - Server 4 04-17-2008 07:19 AM
Im cant receive mails!!!! emilioestevezz Linux - Networking 6 05-11-2004 03:34 AM
Can Send, but Not Receive FXRS Linux - Software 1 07-09-2003 06:42 PM
not able to receive mails ssrikant Linux - Networking 4 05-05-2003 02:54 PM

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration