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

Re: Baud rate range validation in serial devices


On Mon, Jun 25, 2007 at 05:00:51PM +0400, Alexander Aganichev wrote:
> Sorry, I'm an idiot :( Not tested patch well and put reverse
> conditions everywhere.
> Here is corrected patch.
>
> On 6/25/07, Alexander Aganichev <aaganichev@gmail.com> wrote:
>> Hi!
>>
>> Here is a small patch applied to the lot's of serial device drivers
>> files that validates that baud rate is within the defined table. The
>> intention of the patch is to make easier to add support for the higher
>> speeds on platforms where that could be required without need to
>> update all other platforms every time.

Could you expand on that a little bit. What is there in the current
code which does not allow this? Range checking is nice, but i don't
see how it allows you to add additional baud rates.

    Thanks
        Andrew


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