Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2014-01-28 Thread Sergei Ianovich
On Tue, 2014-01-28 at 15:14 +0100, Pavel Machek wrote: > Yes, please. I was hitting the same issue with Sharp Zaurus and bluetooth > CF card... Bluetooth card had 8250 inside... A better implementation is posted as v3 of the patch.

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2014-01-28 Thread Pavel Machek
Hi! > PXA serial ports have "standard" UART names (ttyS[0-3]), major > device number (4) and first minor device number (64) by default. > > If the system has extra 8250 serial port hardware in addition > to onboard PXA serial ports, default settings produce a device > allocation conflict. > >

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2014-01-28 Thread Pavel Machek
Hi! PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial port hardware in addition to onboard PXA serial ports, default settings produce a device allocation conflict. The patch

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2014-01-28 Thread Sergei Ianovich
On Tue, 2014-01-28 at 15:14 +0100, Pavel Machek wrote: Yes, please. I was hitting the same issue with Sharp Zaurus and bluetooth CF card... Bluetooth card had 8250 inside... A better implementation is posted as v3 of the patch.

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-04 Thread Sergei Ianovich
On Wed, 2013-12-04 at 20:35 -0800, Greg Kroah-Hartman wrote: > On Thu, Dec 05, 2013 at 08:31:36AM +0400, Sergei Ianovich wrote: > > I'm reading the last message as a confirmation that > > drivers/tty/serial/pxa.c needs to be rewritten using 8250_core.c. > > Yes, how much work is this really?

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-04 Thread Greg Kroah-Hartman
On Thu, Dec 05, 2013 at 08:31:36AM +0400, Sergei Ianovich wrote: > On Wed, 2013-12-04 at 20:12 -0800, Greg Kroah-Hartman wrote: > > On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: > > > On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: > > > > Who makes the decision

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-04 Thread Sergei Ianovich
On Wed, 2013-12-04 at 20:12 -0800, Greg Kroah-Hartman wrote: > On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: > > On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: > > > Who makes the decision which way to go? > > > > Greg and Russel make this decision. By having

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-04 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: > Hi, > > On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: > > On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: > > > On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: > > > > On Mon,

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-04 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: Hi, On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-04 Thread Sergei Ianovich
On Wed, 2013-12-04 at 20:12 -0800, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: Who makes the decision which way to go? Greg and Russel make this decision. By having the pxa

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-04 Thread Greg Kroah-Hartman
On Thu, Dec 05, 2013 at 08:31:36AM +0400, Sergei Ianovich wrote: On Wed, 2013-12-04 at 20:12 -0800, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: Who makes the decision which way

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-04 Thread Sergei Ianovich
On Wed, 2013-12-04 at 20:35 -0800, Greg Kroah-Hartman wrote: On Thu, Dec 05, 2013 at 08:31:36AM +0400, Sergei Ianovich wrote: I'm reading the last message as a confirmation that drivers/tty/serial/pxa.c needs to be rewritten using 8250_core.c. Yes, how much work is this really? Great. It

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: > On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: > > On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: > > > On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: > > > > > > > > If

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: > On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: > > On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: > > > On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: > > > > PXA serial ports have "standard"

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: > On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: > > On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: > > > PXA serial ports have "standard" UART names (ttyS[0-3]), major > > > device number (4) and

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: > On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: > > PXA serial ports have "standard" UART names (ttyS[0-3]), major > > device number (4) and first minor device number (64) by default. > > > > If the system has extra 8250

Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: > PXA serial ports have "standard" UART names (ttyS[0-3]), major > device number (4) and first minor device number (64) by default. > > If the system has extra 8250 serial port hardware in addition > to onboard PXA serial

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial port hardware in addition to onboard PXA serial ports,

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: If drivers/tty/serial/pxa.c was

[PATCH 01/11] resolve PXA<->8250 serial device address conflict

2013-11-30 Thread Sergei Ianovich
PXA serial ports have "standard" UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial port hardware in addition to onboard PXA serial ports, default settings produce a device allocation conflict. The patch provides a

[PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-11-30 Thread Sergei Ianovich
PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial port hardware in addition to onboard PXA serial ports, default settings produce a device allocation conflict. The patch provides a