[ar71xx] move random MAC address generation into the platform initialization code
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1267-gta01-uart-fifo-trigger-sooner.patch.patch
1 From 2d68fa06d5cfcf38ce9bd551b478dab408141cce Mon Sep 17 00:00:00 2001
2 From: Mike Westerhof <mwester@dls.net>
3 Date: Fri, 8 Aug 2008 13:25:02 +0100
4 Subject: [PATCH] gta01-uart-fifo-trigger-sooner.patch
5
6 Set the UART FIFO to trigger earlier on the GTA01 device to minimize
7 UART overruns from the GSM.
8
9 Signed-off-by: Mike Westerhof <mwester@dls.net>
10 ---
11 arch/arm/mach-s3c2410/mach-gta01.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
13
14 diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
15 index 9e42df0..4927cd4 100644
16 --- a/arch/arm/mach-s3c2410/mach-gta01.c
17 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
18 @@ -87,6 +87,8 @@ static struct map_desc gta01_iodesc[] __initdata = {
19 #define UCON S3C2410_UCON_DEFAULT
20 #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
21 #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
22 +/* UFCON for the gta01 sets the FIFO trigger level at 4, not 8 */
23 +#define UFCON_GTA01_PORT0 S3C2410_UFCON_FIFOMODE
24
25 static struct s3c2410_uartcfg gta01_uartcfgs[] = {
26 [0] = {
27 @@ -94,7 +96,7 @@ static struct s3c2410_uartcfg gta01_uartcfgs[] = {
28 .flags = 0,
29 .ucon = UCON,
30 .ulcon = ULCON,
31 - .ufcon = UFCON,
32 + .ufcon = UFCON_GTA01_PORT0,
33 },
34 [1] = {
35 .hwport = 1,
36 --
37 1.5.6.5
38
This page took 0.042545 seconds and 5 git commands to generate.