This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001668] New: Fix: phy_read() function returns bad values ifinterrupt occurs
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Thu, 6 Sep 2012 23:31:42 +0100
- Subject: [Bug 1001668] New: Fix: phy_read() function returns bad values ifinterrupt occurs
- Auto-submitted: auto-generated
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.