This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001668] New: Fix: phy_read() function returns bad values ifinterrupt occurs


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001668

           Summary: Fix: phy_read() function returns bad values if
                    interrupt occurs
           Product: eCos
           Version: CVS
          Platform: Custom (Customer specific)
        OS/Version: PowerPC
            Status: UNCONFIRMED
          Severity: minor
          Priority: low
         Component: Patches and contributions
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: sarcastic.mannequin@gmail.com
                CC: ecos-patches@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1931)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1931)
cvs diff: if_fec.c interrupt handling fix

The phy_read() function can return bad values if interrupts occurs during
reading a PHY register.

During interrupt handling the iEvent_MII bit is incorrectly cleared. That bit
is polled in phy_read() and phy_write() functions and should not be cleared in
the interrupt handler.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]