LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Closed Thread
 
Search this Thread
Old 07-17-2008, 02:04 AM   #1
kine920
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Rep: Reputation: 0
Question 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 referred 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, 07:13 AM   #2
kine920
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Sorry, I don't know how to delete this thread
 
Old 07-17-2008, 08:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,134
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Next time please use the "report" button to request a close and use the "edit" button to make changes to your posts. Thanks in advance.
 
Old 07-17-2008, 11:24 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
It is already closed...
 
  


Closed Thread


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
The smsc9115 driver can't receive normally kine920 Linux - Newbie 2 07-17-2008 09:25 PM
smsc9115 driver can't receive normally kine920 Linux - Networking 1 07-17-2008 05:28 PM
In console program,how to receive mouse event from driver wangchaoye Linux - Embedded & Single-board computer 2 07-15-2008 05:00 AM
Bash - double quotes don't protect Exclamation marks geoff_f Programming 15 04-15-2007 09:10 PM
Shell scripting: exclamation marks in strings Dark_Helmet Programming 9 06-16-2003 06:32 PM


All times are GMT -5. The time now is 10:38 AM.

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