This is the mail archive of the 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] Fix: phy_read() function returns bad values if interrupt occurs

Please do not reply to this email. Use the web interface provided at:

Bernd Edlinger <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Bernd Edlinger <> 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:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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