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: --
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Tony Lindgren | [PATCH 37/90] ARM: OMAP: MPUIO wake updates |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Benjamin Herrenschmidt | Re: powerpc allmodconfig |
