login
Header Space

 
 

Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Russell King <rmk+lkml@...>
Cc: Dmitry <dbaryshkov@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <haavard.skinnemoen@...>, <lethal@...>, <philipp.zabel@...>, <pavel@...>, <tony@...>, <paul@...>
Date: Wednesday, April 9, 2008 - 4:52 pm

> > It's called a line discipline, we've had them for many years. We may need

The work required to fix up the existing FIR hacks is not insignifcant
either. Also right now the tty layer is getting a major rework so now is
actually the time to sort out anything extra that is needed.

If you want 4MBit please just use an ldisc and do

	struct ktermios tmp;
	mutex_lock(&tty->termios_mutex);
	tmp = *tty->termios;
	tty_encode_baud_rate(tty, 4000000, 4000000);
	tty->driver->set_termios(tty, &tmp);
	mutex_unlock(&tty->termios_mutex);

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] Clocklib: generic clocks framework, Dmitry Baryshkov, (Thu Apr 3, 9:21 am)
[PATCH 6/6] Clocklib: use correct name for 3,6MHz clock, Dmitry Baryshkov, (Thu Apr 3, 9:24 am)
Re: [PATCH 6/6] Clocklib: use correct name for 3,6MHz clock, Dmitry Baryshkov, (Fri Apr 11, 6:25 am)
[PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa, Dmitry Baryshkov, (Thu Apr 3, 9:24 am)
Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa, Alan Cox, (Wed Apr 9, 4:52 pm)
[PATCH 4/6] Clocklib: support ARM pxa sub-arch., Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
[PATCH 3/6] Clocklib: support sa1100 sub-arch., Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
[PATCH 2/6] Clocklib: debugfs support, Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
Re: [PATCH 2/6] Clocklib: debugfs support, Andrew Morton, (Mon Apr 7, 6:59 pm)
Re: [PATCH 2/6] Clocklib: debugfs support, Greg KH, (Mon Apr 7, 9:04 pm)
speck-geostationary