All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: CHABAL David <david.chabal@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] 16550A driver and Moxa card / solved
Date: Fri, 11 May 2007 15:25:22 +0200	[thread overview]
Message-ID: <46446EC2.3080005@domain.hid> (raw)
In-Reply-To: <RYexwPRg.1178892718.6286610.dchabal@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

CHABAL David wrote:
>>> In additional:
>>> 1. You should use 921600 value instead of 912.600.
> 
> The "." was here for reading facility only, I consider it as an integer
> in my computations.

The point was not the point, but the flipped digits.

> 
>> (921600 + (115200 div 2)) div 115200 = 8
>>
>> So back to square #1: misconfiguration? David, please check with the
>> correct baud base again if you still see relevant divider variations.
>>
> 
> moxa:  921600/115200 = 8 (not 7, I apologize for this mistake but we
> guess here that the baud base is always 921600 and according to the
> mxser file it can be 230400 for some cards)

(230400+57600)/115200=2,5 => 2

230400/115200=2

???

> 
> xeno: (921600+57600)/115200 = 8.5 rounded to 8

So we have the same results for both formulas and I don't see the need
for a patch anymore. Do you? Otherwise I would just commit the
div-by-zero fix to trunk now and keep the rest as is.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-05-11 13:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-11  9:31 [Xenomai-core] 16550A driver and Moxa card / solved CHABAL David
2007-05-11  9:08 ` Jan Kiszka
2007-05-11  9:12 ` Maksym Veremeyenko
2007-05-11  9:17   ` Jan Kiszka
2007-05-11 10:57     ` CHABAL David
2007-05-11 10:28       ` Maksym Veremeyenko
2007-05-11 10:36       ` Jan Kiszka
2007-05-11 11:25         ` Jan Kiszka
2007-05-11 12:33           ` CHABAL David
2007-05-11 11:46         ` Maksym Veremeyenko
2007-05-11 12:11           ` Jan Kiszka
2007-05-11 14:11             ` CHABAL David
2007-05-11 13:25               ` Jan Kiszka [this message]
2007-05-11 13:35                 ` Maksym Veremeyenko
2007-05-11 14:33                 ` CHABAL David
2007-05-11 13:54                   ` Jan Kiszka
2007-05-11 13:58                   ` Maksym Veremeyenko
2007-05-11 15:33                     ` CHABAL David
2007-05-11 15:45                       ` Jan Kiszka
2007-05-11 13:29               ` Maksym Veremeyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46446EC2.3080005@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=david.chabal@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.