[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080109170907.4b05d71b@lxorguk.ukuu.org.uk>
Date: Wed, 9 Jan 2008 17:09:07 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Folkert van Heusden <folkert@...heusden.com>
Cc: linux-kernel@...r.kernel.org, udovdh@...all.nl
Subject: Re: [RS232] setting trigger-level of fifo
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists