OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 9:53 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: RTL8169: real hardware not able to send more then 1 package
PostPosted: Wed Dec 15, 2021 3:00 pm 
Offline
Member
Member

Joined: Tue Aug 30, 2016 1:31 pm
Posts: 69
Hello everyone.

I work on RTL8169 driver on real hardware.
This is the link to the driver: https://github.com/AdeRegt/SanderOSUSB/ ... /RTL8169.c
I can send one package without problems, receiving packages go fine too. The only problem is that I am unable to send packages after this:
There is no interrupt triggered for sending the package and I cannot see a package appear on Wireshark on my laptop.

I hope someone can help


Top
 Profile  
 
 Post subject: Re: RTL8169: real hardware not able to send more then 1 pack
PostPosted: Sat Dec 18, 2021 2:56 am 
Offline
Member
Member

Joined: Sat Mar 10, 2018 10:16 am
Posts: 296
Did you set EOR bit in the last Tx descriptor? I somehow can not see it in your code.

_________________
https://github.com/VendelinSlezak/BleskOS


Top
 Profile  
 
 Post subject: Re: RTL8169: real hardware not able to send more then 1 pack
PostPosted: Sat Dec 18, 2021 10:26 am 
Offline
Member
Member

Joined: Tue Aug 30, 2016 1:31 pm
Posts: 69
This solved the issue, thank you very much! It was indeed the EOR flag.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 72 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group