Re: [PATCH] atmel_serial: Fix break handling

2007-06-19 Thread Russell King
On Tue, Jun 19, 2007 at 01:36:05PM +0300, Ivan Kuten wrote: > On Mon, 18 Jun 2007 11:33:54 +0100 > Russell King wrote: > > > On Mon, Jun 18, 2007 at 01:21:21PM +0300, Ivan Kuten wrote: > > > Hi Haavard, > > > > > > I tried /dev/ttyAT3, break appeared but not the way I expected, after: > > > stty

Re: [PATCH] atmel_serial: Fix break handling

2007-06-19 Thread Ivan Kuten
On Mon, 18 Jun 2007 11:33:54 +0100 Russell King wrote: > On Mon, Jun 18, 2007 at 01:21:21PM +0300, Ivan Kuten wrote: > > Hi Haavard, > > > > I tried /dev/ttyAT3, break appeared but not the way I expected, after: > > stty -F /dev/ttyAT3 brkint I get: > > > > cat /proc/tty/driver/atmel_serial > >

Re: [PATCH] atmel_serial: Fix break handling

2007-06-18 Thread Russell King
On Mon, Jun 18, 2007 at 01:21:21PM +0300, Ivan Kuten wrote: > Hi Haavard, > > I tried /dev/ttyAT3, break appeared but not the way I expected, after: > stty -F /dev/ttyAT3 brkint I get: > > cat /proc/tty/driver/atmel_serial > serinfo:1.0 driver revision: > 0: uart:ATMEL_SERIAL mmio:0xFEFFF200 irq

Re: [PATCH] atmel_serial: Fix break handling

2007-06-18 Thread Ivan Kuten
On Tue, 5 Jun 2007 13:23:36 +0200 Haavard Skinnemoen wrote: > On Tue, 5 Jun 2007 14:07:20 +0300 > Ivan Kuten <[EMAIL PROTECTED]> wrote: > > > I tried to test your patch on AT91RM9200 with Magic SysRq sequence, > > unfortunately without > > success - SysRq still does not work. You mention "break

Re: [PATCH] atmel_serial: Fix break handling

2007-06-05 Thread Ivan Kuten
On Thu, 31 May 2007 21:31:31 +0200 Haavard Skinnemoen wrote: > It's been almost a year since the last patch I sent attempting to fix > this. Sorry for not following up any sooner. > > Anyway, here's a new attempt. It should work even if we miss some > interrupts, and it should not break break han

Re: [PATCH] atmel_serial: Fix break handling

2007-06-05 Thread Haavard Skinnemoen
On Tue, 5 Jun 2007 14:07:20 +0300 Ivan Kuten <[EMAIL PROTECTED]> wrote: > I tried to test your patch on AT91RM9200 with Magic SysRq sequence, > unfortunately without > success - SysRq still does not work. You mention "break count increments" > where do you check it ? I have > cat /proc/tty/dri

[PATCH] atmel_serial: Fix break handling

2007-05-31 Thread Haavard Skinnemoen
The RXBRK field in the AT91/AT32 USART status register has the following definition according to e.g. the AT32AP7000 data sheet: RXBRK: Break Received/End of Break 0: No Break received or End of Break detected since the last RSTSTA. 1: Break Received or End of Break detected since the