Hi Jan, it looks as actually only one statement is relevant, this is the addtional read of the status register directly after the write to it. The following patch seems to be sufficient. I do not understand why, but this seems to solve the issue...
--- rtnet-0.9.6/drivers/rt_eepro100.c.orig Fri Oct 20 12:35:44 2006 +++ rtnet-0.9.6/drivers/rt_eepro100.c Fri Oct 20 16:23:03 2006 @@ -1641,6 +1641,7 @@ /* Will change from 0xfc00 to 0xff00 when we start handling FCP and ER interrupts --Dragan */ outw(status & 0xfc00, ioaddr + SCBStatus); + inw(ioaddr + SCBStatus); /* Required to avoid signal losses!! */ if (speedo_debug > 4) rtdm_printk(KERN_DEBUG "%s: interrupt status=%#4.4x.\n", That's it for this week. Let's continue on monday! Mathias > > one changed part that I have identified in the ISR (e100intr()) of e100 > are the function calls to > > e100_disable_clear_intr() and e100_set_intr_mask() that lead to additional > accesses > > to the NIC's (status, mask) registers. > > And the patch was intended to do exactly the same accesses at eepro100. > > And that's not bad as we now have a working reference. > > > > > Also, the e100intr processes only one interrupt at a time, i.e. it does > not have the > > do { } while(1); loop. This is the second part I modified. > > That depends on the model. Intel's stand-alone driver also still > supports non-NAPI, i.e. the "classic" loop in the IRQ handler. The > kernel now only knows NAPI: ack the IRQ and schedule some polling on the > device in a bottom-half context (or task, can't tell right now). > -- Mathias Koehrer [EMAIL PROTECTED] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users