Re: [RS232] setting trigger-level of fifo

Alan Cox
2008-01-09T17:11:30Z

> 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