mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Folkert van Heusden <folkert@vanheusden.com>
Cc: linux-kernel@vger.kernel.org, udovdh@xs4all.nl
Subject: Re: [RS232] setting trigger-level of fifo
Date: Wed, 9 Jan 2008 17:09:07 +0000	[thread overview]
Message-ID: <20080109170907.4b05d71b@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20080109155412.GX8331@vanheusden.com>

>         serial8250_set_mctrl(&up->port, up->port.mctrl);
>         spin_unlock_irqrestore(&up->port.lock, flags);
> }
> 
> But I don't know how to interface this to an ioctl or so.

tty ioctl calls both ldisc and driver ioctls (in your case the
serial_core ioctl). The triggers get recomputed in the 8250 driver so you
may need to think about how you handle speed changes automatically
adjusting trigger levels.

Alan

      reply	other threads:[~2008-01-09 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 15:32 Folkert van Heusden
2008-01-09 15:54 ` Folkert van Heusden
2008-01-09 17:09   ` Alan Cox [this message]

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=20080109170907.4b05d71b@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=folkert@vanheusden.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=udovdh@xs4all.nl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®