Re: [PATCH 2/4] Blackfin: Serial driver for Blackfin arch on 2.6.18

From: Aubrey
Date: Thu Sep 21 2006 - 05:24:12 EST


On 9/21/06, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
Ar Iau, 2006-09-21 am 11:33 +0800, ysgrifennodd Luke Yang:
> Hi,
>
> This is the serial driver for Blackfin. It is designed for the serial
> core framework.

> +#define DMA_RX_XCOUNT TTY_FLIPBUF_SIZE

TTY_FLIPBUF_SIZE is going away. Just pick a value good for your hardware
and under PAGE_SIZE.

Thanks for your comments. I'll change it soon and submit a new patch.


Other question - is your locking ok for low latency. In low latency mode
tty_flip_buffer_push() may directly end up calling your write methods.

Yes, I noticed that and I think it's ok. The driver is tested everday
and works fine.

-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/