Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

CT60 and related things BBS
 
Ethernet CTPCI freeze workaround
Posted by: Didier Méquignon May,01.2012-09:30 

Some news...

I created 3 GPL ethernet drivers for the RTL8139:
1st internal for LWIP and TOS.
2nd external for STING for TOS/MagiC.
3rd external for replace the ethernet MiNT driver.
The fastest ethernet stack for create freezes is MiNT.
I tried to reduce the DMA windows to 512KB without changes and finally found that the freeze ethernet problem is the same that USB. An acces to MMIO RT8139 register during a DMA transfer can freeze the system on CT60/CTPCI. I have no information about DMA transfer status (running or not), but I have found a workaround:
Inside the interrupt routine I added a 100uS delay before read the RTL8139 status register. The maximum time for this interrupt now is 1mS.
I removed the DMA interrupt task (1st workaround without rewrite the driver).

Didier







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Ethernet CTPCI freeze workaround Didier Méquignon May,01.2012-09:30
  Re: Ethernet CTPCI freeze workaround wongck May,02.2012-01:06
    Re: Ethernet CTPCI freeze workaround Didier Méquignon May,02.2012-19:54


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson