Re: [PATCH] 8250.c: Fix to make 16C950 UARTs work

2005-09-09 Thread Mathias Adam
Russell King wrote: > On Fri, Sep 09, 2005 at 04:49:27AM +0200, Mathias Adam wrote: > > + if (up->port.type == PORT_16C950) { > > + unsigned int baud_base = port->uartclk/16; > > baud_base appears unused. you're right, it's not necessary anymore. (New patch below) > > + if

Re: [PATCH] 8250.c: Fix to make 16C950 UARTs work

2005-09-09 Thread Russell King
A couple of comments - see below. On Fri, Sep 09, 2005 at 04:49:27AM +0200, Mathias Adam wrote: > --- linux-2.6.13-org/drivers/serial/8250.c2005-08-29 01:41:01.0 > +0200 > +++ linux-2.6.13/drivers/serial/8250.c2005-09-09 02:16:49.0 > +0200 > @@ -1665,7 +1665,7 @@ >

Re: [PATCH] 8250.c: Fix to make 16C950 UARTs work

2005-09-08 Thread Mathias Adam
Stefan Smietanowski wrote: > Mathias Adam wrote: > > Currently serial8250_set_termios() refuses to program a baud rate larger > > than uartclk/16. However the 16C950 supports baud rates up to uartclk/4. > > This worked already with Linux 2.4 so the biggest part of this patch was > > simply taken fr

Re: [PATCH] 8250.c: Fix to make 16C950 UARTs work

2005-09-08 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathias Adam wrote: > Currently serial8250_set_termios() refuses to program a baud rate larger > than uartclk/16. However the 16C950 supports baud rates up to uartclk/4. > This worked already with Linux 2.4 so the biggest part of this patch was > simpl

[PATCH] 8250.c: Fix to make 16C950 UARTs work

2005-09-08 Thread Mathias Adam
Currently serial8250_set_termios() refuses to program a baud rate larger than uartclk/16. However the 16C950 supports baud rates up to uartclk/4. This worked already with Linux 2.4 so the biggest part of this patch was simply taken from there and adapted to 2.6. I needed this to get a Socket Bluet