ar71xx: add default network config for the RB433UAH board
[openwrt.git] / package / ar7-atm / patches-D7.05.01.00 / 180-git_headers_include.patch
1 Index: sangam_atm-D7.05.01.00/tn7atm.c
2 ===================================================================
3 --- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:16:20.000000000 +0100
4 +++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:19:09.000000000 +0100
5 @@ -76,10 +76,16 @@
6 #include <linux/proc_fs.h>
7 #include <linux/string.h>
8 #include <linux/ctype.h>
9 +#include <linux/version.h>
10
11 #include <asm/io.h>
12 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
13 #include <asm/ar7/ar7.h>
14 #include <asm/ar7/prom.h>
15 +#else
16 +#include <asm/mach-ar7/ar7.h>
17 +#include <asm/mach-ar7/prom.h>
18 +#endif
19
20 #include "dsl_hal_api.h"
21 #ifdef AR7_EFM
22 Index: sangam_atm-D7.05.01.00/tn7dsl.c
23 ===================================================================
24 --- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:19:04.000000000 +0100
25 +++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:19:09.000000000 +0100
26 @@ -120,8 +120,13 @@
27 #include <linux/version.h>
28
29 #include <asm/io.h>
30 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
31 #include <asm/ar7/ar7.h>
32 #include <asm/ar7/prom.h>
33 +#else
34 +#include <asm/mach-ar7/ar7.h>
35 +#include <asm/mach-ar7/prom.h>
36 +#endif
37
38 /* Modules specific header files */
39 #ifdef AR7_EFM
40 Index: sangam_atm-D7.05.01.00/tn7sar.c
41 ===================================================================
42 --- sangam_atm-D7.05.01.00.orig/tn7sar.c 2010-03-07 18:10:13.000000000 +0100
43 +++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 18:19:09.000000000 +0100
44 @@ -53,10 +53,16 @@
45 #include <linux/proc_fs.h>
46 #include <linux/string.h>
47 #include <linux/ctype.h>
48 +#include <linux/version.h>
49
50 #include <asm/io.h>
51 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
52 #include <asm/ar7/ar7.h>
53 #include <asm/ar7/prom.h>
54 +#else
55 +#include <asm/mach-ar7/ar7.h>
56 +#include <asm/mach-ar7/prom.h>
57 +#endif
58
59 #define _CPHAL_AAL5
60 #define _CPHAL_SAR
This page took 0.04179 seconds and 5 git commands to generate.