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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitry <dbaryshkov@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, <haavard.skinnemoen@...>, <lethal@...>, <philipp.zabel@...>, <pavel@...>, <tony@...>, <paul@...>
Date: Wednesday, April 9, 2008 - 3:05 pm

On Wed, Apr 09, 2008 at 11:15:51AM +0400, Dmitry wrote:

See below - fixing the underlying issue makes this problem vanish.


As I've suggested, it isn't.  On x86, for instance, you have to use
setserial to deconfigure the serial port from the serial driver (by
setserial /dev/ttyS1 uart none) and then load the IrDA driver.

Unfortunately, there's currently no way to properly hand off a real
serial device to the IrDA layer when the UART is connected to an IrDA
interface.

TBH, I'm not sure what the status of the kernel-side IrDA drivers are -
maybe this is an issue which Samuel Ortiz could tackle if he has time.
That would solve this issue on both 8250-based ports as well as SA11x0
and PXA platforms.

Basically what I'm thinking is a serial_core function which could be
called to say "I'm an IrDA driver, and I think I should be using the
serial port located <here>, please give me control of it" and it'd
pass over the various parameters including the struct device for it.
Or something like that.


If we get the underlying issue fixed, that issue magically goes away.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
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, Russell King, (Wed Apr 9, 3:05 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)