|   
				
			 | 
			
 		
 
 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]  
  
 
	
 
	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.
			 |