This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001668] Fix: phy_read() function returns bad values if interrupt occurs
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Sun, 9 Sep 2012 10:37:12 +0100
- Subject: [Bug 1001668] Fix: phy_read() function returns bad values if interrupt occurs
- Auto-submitted: auto-generated
- References: <bug-1001668-104@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001668
Bernd Edlinger <bernd.edlinger@hotmail.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernd.edlinger@hotmail.de
--- Comment #1 from Bernd Edlinger <bernd.edlinger@hotmail.de> 2012-09-09 10:37:09 BST ---
Well, when I look at that code I wonder
if this can really happen. The reason for this is:
phy_read() and phy_write() are static functions
which are only called from fec_eth_init().
And as far as I know the fec_eth_deliver should never
be called within fec_eth_init(), even if Interrupts
are enabled. The dsr function eth_drv_dsr() should only
trigger the execution of fec_eth_deliver() in the
ethernet handler thread, but threading is not enabled
when fec_eth_init() is called. Right?
Are you using FreeBSD or lwIP?
Are you able to reproduce this in a debugger?
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.