All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: Hannes Mayer <h.mayer@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [patch] serial driver fixes/improvements
Date: Sat, 29 Oct 2005 03:16:40 +0200	[thread overview]
Message-ID: <4362CD78.6020304@domain.hid> (raw)
In-Reply-To: <4362A764.6070004@domain.hid>

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

Hannes Mayer wrote:
> Hi Jan et al.!
> 
> Jan Kiszka wrote:
> [...]
> 
>> +modprobe xeno_16550A ioaddr=<io1>[,<io2>...] irq=<irq1>[,<irq2>...]
>> +                     [tx_fifo=<len1>[,<len2>...]] [start_index=<index>]
>> +
>> +Arguments:
>> +    ioaddr<N>   - I/O address of device <N> (e.g. 0x3f8 for ttyS0)
>> +    irq<N>      - interrupt number of device <N> (e.g. 4 for ttyS0)
>> +    tx_fifo<N>  - Transmitter FIFO size in bytes of device <N>,
>> default is 16
>> +    start_index - First device instance number to be used, default is 0
> 
> 
> If I may throw in my 2 eurocents:
> I think the Arguments-section is a bit misleading.
> One doesn't specify ioaddr1, ioaddr2 etc. on the command line, as suggested
> by ioaddr<N>, but ioaddr=[1.dev],[2.dev]...
> Same for irq and tx_fifo.
> 
> What about this:
> 
> Arguments:
>     ioaddr      - I/O addresses of devices (e.g. 0x3f8 for ttyS0),
> separated by comma
>     irq         - interrupt numbers of devices (e.g. 4 for ttyS0),
> separated by comma
>     tx_fifo     - Transmitter FIFO sizes in bytes of devices, default is
> 16, separated by comma
>     start_index - First device instance number to be used, default is 0
> => rtser0
> 
> Just trying to make it as clear as possible :-)
> 

Indeed, my version is misleading, your version makes more sense. Just
the parameter for ttyS0 are not necessarily the one you listed, only
typically. Will post a patch.

Jan

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

  reply	other threads:[~2005-10-29  1:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 11:05 [Xenomai-core] [patch] serial driver fixes/improvements Jan Kiszka
2005-10-27 11:49 ` Philippe Gerum
2005-10-28 22:34 ` Hannes Mayer
2005-10-29  1:16   ` Jan Kiszka [this message]
2005-10-29  8:24     ` Jan Kiszka
2005-10-29 21:10       ` Hannes Mayer

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=4362CD78.6020304@domain.hid \
    --to=kiszka@domain.hid \
    --cc=h.mayer@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.