This is the mail archive of the ecos-patches@sources.redhat.com 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]

Re: [patch] fix odd byte problem on smsc91c111 revision 0 chips


I forgot to mention that a similar method is also used in the linux kernel.

jeroen dobbelaere wrote:
Hello Mark,

[..]

The idea is that it won't hurt to read an extra byte, as the specific protocol also has it's length specified.

It is possible that this solution doesn't work when using protocols,
where this assumption doesn't hold, but so far I had no problems with this fix,
and a lot of problems without it.


[..]

Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com/aes



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